v14

latestOpenAPI 3.1.02026-08-043122950.3 KB
collections

Set collection resource group

Assign, move, or unassign an organization-owned collection to a resource group. Pass null to unassign. User-owned collections are not eligible.

post/api/collections/{namespace}/{slug}-{id}/resource-group

Path parameters

namespacestring required
slugstring required
idstring required

Request body

resourceGroupIdstring nullable required

The resource group to assign the collection to. If null, the collection is removed from any resource group.

Response

Minimal information about the collection after the assignment

idstring required
slugstring required
titlestring required
privateboolean required
addedBystring required