Organization
Role
Update organization role
Changed onUpdate the organization role by its ID.
patch/v1/organizations/{organizationRef}/roles/{role_id}
Request
- Base URL: https://example.com/api
- URL: https://example.com/api/v1/organizations/{organizationRef}/roles/{role_id}
- Auth: OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token; password, token URL /oauth/token, scopes: organization, role)
Request body
Example request
{
"name": "Contributors",
"description": "Users who can collaborate on the project."
}Response
OK
Example response
{
"id": "9bsv0s46s6s002p9ltq0",
"key": "org-member",
"name": "Collaborators",
"description": "Users who can collaborate on the project.",
"member_count": 4
}Changes
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info