Skip to main content

Assign a repository role to a user

PUT 

/api/v1/repositories/:repositoryId/roles/:role

Assign a repository role to a user. If the user already has another role for the same repository, it will be replaced with the new one.

Request​

Responses​

Successfully added the role to the user.

Response Headers