Skip to main content
DELETE
Delete cached Twitter writing style profile
Free. This endpoint does not consume credits.

Delete a cached Twitter writing style

Delete a style when its sampled tweets no longer represent the intended voice. The request removes one cached writing-style profile owned by your Xquik account. It also removes the tweet samples stored with that profile. Use the xUsername returned by List Styles. Place that username in the {id} path segment. The examples use elonmusk. Do not include the leading @ character.
Deletion is permanent. Xquik does not provide a restore endpoint for deleted style profiles. Analyze the username again to build a new cache.

Handle a 204 response without JSON

A successful deletion returns 204 No Content. The response body is empty. Check response.status === 204 or response.ok. Do not call response.json() after a successful request.
Node.js
Call List Styles after deletion when reconciliation matters. The removed username should no longer appear in that account’s list.

Recover from style deletion errors

A repeated deletion returns 404 after the cache is gone. Treat that result as success only when your workflow allows it. Never retry 404 in a loop.

Does this delete tweets from X?

No. This route deletes Xquik’s cached samples only. The source tweets remain on X. The connected X account also remains available for approved workflows.

Can I restore a deleted Twitter writing style?

No restore route exists. Use Analyze & Cache Style to fetch current tweets and create a fresh writing-style profile.

Path parameters

string
required
Style profile ID or X username whose cached style to delete.

Headers

string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.

Response

Empty response body. Xquik deleted the style.
Related. List Styles to verify the removal, or Analyze & Cache Style to cache a new style.