Create a role
POST/v1/organizations/:organization_id/roles
Create a role and its permission entries in a single request.
Request
Responses
- 201
- 400
- 401
- 404
- 409
- 422
- 500
User role created successfully.
Invalid request payload.
Not authorized or organization not accessible.
Referenced resource not found within authorized organization scope.
The request conflicts with an existing resource.
The request cannot be completed due to organization entity limit restrictions.
Internal server error.