API reference

API reference · Account

Delete a comment

DELETE/api/studio/projects/{id}/comments/{cid}Signed in session

Its author, or whoever holds the film (its maker, a team's owners and admins); anyone else 403 not_yours. The signed in account; same origin for a write.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe project's id, stp_ followed by hex.
cid (path)requiredstringThe comment's id.

Answer 200

Deleted.

Fields of the 200 answer
FieldTypeWhat it is
idstring
objectstring
deletedboolean

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.
  • 429OpenAI 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