Skip to content

Delete resources

Endpoints listed on this page require project tokens with the delete ability. See Authentication for more details.

Delete a resource

DELETE /v2/resources/{blueprint}/{id}

Permanently deletes a resource. This action cannot be undone.

Parameters

ParameterLocationDescription
blueprintURLThe blueprint slug (e.g. blog-posts)
idURLThe resource ID (e.g. gKqv6dx6pBk9)

Example

bash
curl -X DELETE "https://api.diggama.com/v2/resources/blog-posts/gKqv6dx6pBk9" \
  -H "Authorization: Bearer {token}"

Response — 204 No Content

Returns an empty response body on success.

Error responses

StatusDescription
403 ForbiddenToken doesn't have the delete ability on this blueprint
404 Not FoundResource does not exist or does not belong to this project

Deleting multiple resources

To delete several resources at once, use Bulk delete instead.

Diggama Documentation