Skip to content

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.

Authentication: API key (Authorization: Bearer rmk_...). Operation id deleteDesign.

Example

Terminal window
curl -X DELETE https://api.remodeled.ai/public/v1/designs/01a1ebfd-4958-74a0-8036-fd131dcc3bd2 \
-H "Authorization: Bearer $REMODELED_API_KEY"

Try it

Try it with your key

Parameters

NameInTypeDescription
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
}
}
}

Every answer carries RateLimit-Limit, RateLimit-Remaining and X-Request-Id. See rate limits and errors. API version 1.2.0.