Skip to main content
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 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

Headers

Response

Empty response body. Xquik deleted the style.
Related.

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 }