collections
Collection resource group
Changed onAssign, 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
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/collections/{namespace}/{slug}-{id}/resource-group
- Auth: HTTP bearer
Path parameters
namespacestring required
slugstring required
idstring required
Request body
Response
Minimal information about the collection after the assignment
Changes
- warning
changed the pattern of the request property
/from^[0-9a-f]{24}$to^[0-9a-fA-F]{24}$
- warning