Archive a collection
Requires posts:write. Archives the collection, the same as Archive in
the app. Archiving a campaign also archives its subgroups. Archived
collections drop out of GET /collections unless you pass
include_archived=true. With includePosts: true, every post in the
collection (campaigns include subgroup posts) is archived as well.
Archiving a collection that is already archived returns 200 with
meta.changed: false. Nothing is deleted and no credits move.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
OR
X-Api-Keystring
API Key authentication via header
Path parameters
collectionId
Request
This endpoint expects an object.
includePosts
Also archive (or restore) the posts in the collection.
Response
The archived collection
data
meta
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
