Repositories
Create or Update Repository User Roles
Manages user roles on a repository, allowing for updating of existing repository users or adding roles for new users on the repository.
post/v1/repositories/{repositoryId}/users/add
Path parameters
repositoryIdstring required
Unique identifier for a repository folder, prefixed with repo_
Example:repo_1234321
The unique identifier of the repository
Request body
Example request
{
"users": [
{
"userId": 1234567,
"role": "REPOSITORY_OWNER"
}
]
}Response
No Content. User and group roles have been successfully added or updated.