Sign in

Update collection metadata

documented

Update collection metadata (title/description/private/position/theme).

PATCH /api/collections/{namespace}/{slug}-{id}Collectionsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://huggingface.co/api/collections/{{$namespace}}/{{$slug}}-{{$id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"title": "{{$title}}", "description": "{{$description}}", "private": {{$private}}, "position": {{$position}}, "theme": "{{$theme}}"}'