DELETE
/
styles
/
delete
/
{id}
Delete
curl --request DELETE \
  --url https://api.buybase.ai/styles/delete/{id} \
  --header 'authorization: <authorization>'
{
  "success": true,
  "message": "Style \"style_12345\" deleted successfully",
  "code": "STYLE_DELETED"
}

Headers

authorization
string
required
Your API key for authorization.

Path Parameters

id
string
required
The ID of the style to delete.

Response

success
boolean
Indicates whether the operation was successful.
message
string
A message confirming the deletion.
code
string
A code indicating the result of the operation. Possible values:
  • STYLE_DELETED: Style deleted successfully
  • STYLE_DELETE_FAILED: Failed to delete style
error
string
Error message if the request fails.
Deleting a style will permanently remove it. This action cannot be undone. After deletion, you can create a new style for the same profile.
{
  "success": true,
  "message": "Style \"style_12345\" deleted successfully",
  "code": "STYLE_DELETED"
}