Create or update role
PUT/v1/tenants/:tenant/roles/:name
System roles (ADMIN, WORKSPACE_ADMIN, WORKSPACE_EDITOR, WORKSPACE_VIEWER) cannot be modified.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 404
- 409
- 412
- 422
- 500
Role successfully updated, doesn't indicate successful resource provisioning.
Role successfully created, doesn't indicate successful resource provisioning.
Bad Request
Unauthorized
Forbidden
Not Found
Conflict
Precondition Failed
Unprocessable Entity
Internal Server Error