Social API reference

Social API · Collections

delete/v1/communities/{community_id}/collections/{collection_id}Auth

Delete a collection (owner only). Items cascade; the posts themselves are untouched.

Path parameters

community_id*string

Social community UUID.

collection_id*string · uuid

Id of the collection.

Query parameters

actor_idstring · uuid

The acting actor; must be the collection owner. Required unless the request sends the deprecated JSON body `{ caller_actor_id }`.

Request body

caller_actor_idstring · uuid

Deprecated: pass `?actor_id=` instead. The caller, who must be the owner.

Example: "aaaaaaaa-0000-0000-0000-000000000001"

Response · 204

Deleted.

Example

Request

DELETE https://social.productcraft.co/v1/communities/{community_id}/collections/{collection_id}
Authorization: Bearer YOUR_TOKEN
Content-Type: application/json

{
  "caller_actor_id": "aaaaaaaa-0000-0000-0000-000000000001"
}