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
- 204
- 401
- 404
Successfully added the role to the user.
Response Headers
Invalid Token
Response Headers
Repository or role not found.