models

Batch access requests

Accept, 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

Path parameters

namespacestring required
repostring required

Request body

status'accepted' | 'rejected' | 'pending' | 'reset' required
rejectionReasonstring
resetReasonstring

Response

Per-request outcomes, in the same order as the input requests array.

userIdstring
userstring
okboolean required
error'user_not_found' | 'request_not_found'

Changes