Add Groups as Members on Repository

Add Groups to a repository. Users in the Group will have repository member access to the specified 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
groups
array of integers
required

Array of group IDs.

groups*
Responses
204

No Content. Groups have been successfully added.

400

Bad Request. Occurs when groups are added to an UNRESTRICTED repository, or invalid group IDs are provided.

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!