Skip to main content
POST
Create Sub-Collection
Creates a new named sub-collection under the specified parent collection. Returns 400 if the parent collection does not exist.

Path Parameters

collectionId
string
required
The ID of the parent collection. Use the root collection’s ID to create a top-level folder.

Body Parameters

collectionName
string
required
The name for the new collection.

Response

Returns the newly created Collection object with status 201.

Error Responses