Delete a design
DELETE https://api.remodeled.ai/public/v1/designs/{id}
Removes the design from the API and from the person's library in the app.
Example
curl -X DELETE https://api.remodeled.ai/public/v1/designs/01a1ebfd-4958-74a0-8036-fd131dcc3bd2 \ -H "Authorization: Bearer $REMODELED_API_KEY"import Remodeled from 'remodeled-ai';
const client = new Remodeled(); // reads REMODELED_API_KEY
await client.designs.delete('01a1ebfd-4958-74a0-8036-fd131dcc3bd2');from remodeled import Remodeled
client = Remodeled() # reads REMODELED_API_KEY
client.designs.delete("01a1ebfd-4958-74a0-8036-fd131dcc3bd2")Try it
Try it with your key
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string |
Responses
204 Deleted
401 invalid_api_key: missing, wrong or revoked key
An error.
{ "error": { "code": "invalid_api_key", "message": "Missing or invalid API key. Send it as Authorization: Bearer rmk_..." }}404 not_found
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}429 rate_limited (wait Retry-After seconds) or too_many_active
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}