DELETE https://xquik.com/api/v1/styles/{id}
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 thexUsername returned by List Styles.
Place that username in the {id} path segment. The examples use elonmusk.
Do not include the leading @ character.Handle a 204 response without JSON
A successful deletion returns204 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
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
Headers
Response
- 204 No content
- 401 Unauthenticated
- 404 Not found
- 429 Rate limited
Empty response body. Xquik deleted the style.
Related.
- List Styles to verify the removal.
- Analyze & Cache Style to cache a new style.
Response examples
- 204
No response body. - 400
{ "error": "invalid_input", "message": "Invalid input. Check the request body." } - 401
{ "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." } - 403
{ "error": "api_key_paused", "message": "This API key is paused. Resume it at dashboard.xquik.com/api-keys to use it again." } - 404
{ "error": "not_found", "message": "Resource not found." } - 429
{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }