Skip to main content
DELETE
Delete a snippet
Needs snippets:delete, and a role in the workspace that can delete snippets: owners, managers, content managers and content creators can. See Permissions.
Deletes the snippet, and frees a place in the workspace’s 500. Posts that already used its text keep it. It can’t be undone.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

The snippet's id.

Response

The snippet was deleted.

An error answer. Every one has message, in plain words; some add an error code and fields of their own.

message
string
required

What went wrong and what to do about it.

error
string

A code a few errors add, such as rate_limited. See Handle errors.