Skip to contentDevelopersPrezly website
Snippets

Delete Snippet

Remove a reusable snippet from the account.

Personal tokens are not supported for this endpoint. Use an integration API key. Your account must also have access to the requested data. Authentication

Returns 204 with an empty body. Check existing integration references before removing a shared snippet.

Read the guide

DELETE
/snippets/{id}

Personal access tokens are not supported for this endpoint. Use an integration API key with the required permissions.

Authorization

API_key
headerAuthorizationBearer <token>

Bearer authentication using an integration API key, or a personal access token only where the operation explicitly supports it. Every listed personal-token scope is required; owner permissions and newsroom access still apply.

Path Parameters

id*string

Snippet ID or UUID.

Response Body

No Content

Example Request
curl -X DELETE 'https://api.prezly.com/v2/snippets/string'
Example Response204
Empty