models
Batch access requests
Changed onAccept, reject, reset or set back to pending up to 100 access requests for a single gated repository in one call. The same status (and optional rejectionReason or resetReason) is applied to every request in the list.
post/api/models/{namespace}/{repo}/user-access-request/batch
Request
- Base URL: https://huggingface.co
- URL: https://huggingface.co/api/models/{namespace}/{repo}/user-access-request/batch
- Auth: HTTP bearer
Path parameters
namespacestring required
repostring required
Request body
Response
Per-request outcomes, in the same order as the input requests array.
Changes
- breaking
the
/request property type changed fromobjectto no type - warning
removed the request property
// - warning
removed the request property
// - info
added
subschema #1subschema #2subschema #3to the/request propertyoneOflist - info
added the optional property
/to the response with the status
- breaking
- info
added the new optional request property
- info
added the new
resetenum value to the request property
- info