Remove Users from Repository

Removes one or more users from a repository.

Removes users roles from a given repository, provided the authenticated user has edit access to the repository.


Valid Authentication Methods

API Key Grants:

  • RepositoryEdit

OAuth 2.0 User Token Scopes:

  • repository
Path Params
string
required

The unique identifier of the repository

Body Params
users
array of integers
required
length ≥ 1

Array of user IDs to remove from the repository

users*

User ID to remove from the repository

Responses
204

No Content. Users have been successfully removed from the repository.

403

Forbidden. Occurs when the user does not have permission to modify the repository.

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here!