collections

Update a collection

Changed on
patch/api/collections/{namespace}/{slug}

Request

  • Base URL: https://huggingface.co
  • URL: https://huggingface.co/api/collections/{namespace}/{slug}
  • Auth: HTTP bearer

Path parameters

namespacestring required
slugstring required

Request body

positioninteger
privateboolean
theme'orange' | 'blue' | 'green' | 'purple' | 'pink' | 'indigo'
titlestring
descriptionstring

Response

The updated collection

Changes

    • breaking

      removed subschema #2 subschema #3 from the request property anyOf list

    • info

      added subschema #2 subschema #3 to the request property anyOf list

    • info

      added subschema #2 subschema #3 to the // response property anyOf list for the response status

    • info

      removed subschema #2 subschema #3 from the // response property anyOf list for the response status

    • warning

      added the new agentenv enum value to the ////// response property for the response status