Skip to navigation

Rename a collection

Requires posts:write. Whitespace in name is collapsed; renaming to the current name is a no-op. Because add requests match collections by name, a name another active collection on the team already has (any casing) is a 409 with error.code: collection_name_taken and error.candidates[] listing { id, name, type }.

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.
namestringRequired1-120 characters

Response

The renamed collection
dataobjectOptional
metaobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error