Resources
Delete an image collection
Remove a collection. Its images stay in the workspace.
DELETE /api/assets/collections/{id}Requires assets:delete.
| Field | Required | Description |
|---|---|---|
workspace | Yes | Workspace slug or id. |
curl --request DELETE "https://app.kalpana.one/api/assets/collections/COLLECTION_ID" \
--header "x-api-key: $KALPANA_API_KEY" \
--header "content-type: application/json" \
--data '{"workspace":"acme"}'Response
{ "success": true, "id": "0192f8a4-6c1e-7c3a-9b0e-4d2f1a7e5c11" }Only the collection is deleted. Its images stay in the workspace and in any other collections they belong to. Images that are now in no collection are listed with collectionId=uncategorized in List assets. To delete the images, use Delete several assets.
Errors
| Status | Cause |
|---|---|
403 | Your role or key lacks assets:delete. |
404 | The collection is not in this workspace. |
Was this page helpful?
Updated 4 Nov 2026