Deletes a screenshot of a key. The file is deleted too, unless a copy of the key in another branch still uses it.
HTTP
DELETE /keys/{keyId}/assets/{assetId}Access: Session token only. API keys get 403 with insufficient_scope.
Role: Project reviewer or manager.
Path parameters #
| Parameter | Description |
|---|---|
keyId | The id of the key. |
assetId | The id of the screenshot. |
Response 204 #
The screenshot is deleted. There is no body.
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 403 | forbidden | You are a translator in the project. |
| 404 | not_found | The key does not exist, you have no access to its project, an id is not a UUID, or the key has no such screenshot. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.