Sign in

Update collection item

documented

Update an item in a collection (e.g., its note or position).

PATCH /api/collections/{namespace}/{slug}-{id}/items/{item_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}}/{{$collection_slug}}-{{$collection_id}}/items/{{$item_id}}" \
  -X PATCH \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"position": {{$position}}, "note": "{{$note}}"}'