API reference

API reference · Account

Delete a preset

DELETE/api/studio/presets/{id}Signed in session

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe preset's id, spr_ followed by hex.

Answer 200

Deleted.

Fields of the 200 answer
FieldTypeWhat it is
idstring
objectstringOne of "studio.preset.deleted".
deletedboolean

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.

Antimatter