Create or update role
PUT/v1/tenants/:tenant/roles/:name
System roles (seca.admin, seca.region-admin, seca.workspace-admin, seca.workspace-editor, seca.workspace-viewer) cannot be modified.
Predefined system roles that cannot be modified:
seca.admin
- Full system access, can manage everythingseca.region-admin
- Full system access, can manage everything but authorizationseca.workspace-admin
- Full access within a workspaceseca.workspace-editor
- Can edit all resources in a workspaceseca.workspace-viewer
- Can view all resources in a workspace
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