Add Groups as Members on Repository

Valid Authentication Methods

API Key Grants:

  • RepositoryEdit

OAuth 2.0 User Token Scopes:

  • repository
Path Params
string
required
Body Params
groups
array of integers
required
groups*
Headers
string
required
Defaults to 1
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
Response
Click Try It! to start a request and see the response here!