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
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The project's id, stp_ followed by hex. |
| cid (path)required | string | The comment's id. |
Answer 200
Deleted.
| Field | Type | What it is |
|---|---|---|
| id | string | |
| object | string | |
| deleted | boolean |
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.