Manual
CLI
API
Log in Get started free

Remove a screenshot from a key

Deletes a screenshot of a key.

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 #

ParameterDescription
keyIdThe id of the key.
assetIdThe id of the screenshot.

Response 204 #

The screenshot is deleted. There is no body.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403forbiddenYou are a translator in the project.
404not_foundThe key does not exist, you have no access to its project, an id is not a UUID, or the key has no such screenshot.
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.