API reference · Account
Delete a preset
DELETE/api/studio/presets/{id}Signed in session
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The preset's id, spr_ followed by hex. |
Answer 200
Deleted.
| Field | Type | What it is |
|---|---|---|
| id | string | |
| object | string | One of "studio.preset.deleted". |
| deleted | boolean |
Errors
- 401OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.