Organization
Role
Create a new role in the organization
Changed onCreate a new role and assign it to the organization.
post/v1/organizations/{organizationRef}/roles
Request
- Base URL: https://example.com/api
- URL: https://example.com/api/v1/organizations/{organizationRef}/roles
- 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
{
"key": "org-member",
"name": "Contributors",
"description": "Users who can collaborate on the project."
}Response
Example response
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