Skip to navigation

Unarchive a collection

Requires posts:write. Restores an archived collection and, for a campaign, its archived subgroups. With includePosts: true, the archived posts in it are restored too. Same request, response, and rate class as /collections/{collectionId}/archive.

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

collectionIdstringRequired

Request

This endpoint expects an object.
includePostsbooleanOptionalDefaults to false

Also archive (or restore) the posts in the collection.

Response

The restored collection
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error