List roles in the given scope
Bad Request
Unauthorized
Internal server error
Paginated list of roles in the given scope
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Create a Custom Role in a scope
Role entity
Bad Request
Unauthorized
Internal server error
Created Role
{- "identifier": "string",
- "name": "string",
- "permissions": [
- "string"
], - "allowedScopeLevels": [
- "account"
], - "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Get a Role by identifier
Bad Request
Unauthorized
Internal server error
Queried Role
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Update a Custom Role by identifier
Updated Role entity
Bad Request
Unauthorized
Internal server error
Updated Role
{- "identifier": "string",
- "name": "string",
- "permissions": [
- "string"
], - "allowedScopeLevels": [
- "account"
], - "description": "string",
- "tags": {
- "property1": "string",
- "property2": "string"
}
}
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}
Delete a Custom Role in a scope
Bad Request
Unauthorized
Internal server error
Deleted Role
{- "status": "SUCCESS",
- "code": "DEFAULT_ERROR_CODE",
- "message": "string",
- "correlationId": "string",
- "errors": [
- {
- "fieldId": "string",
- "error": "string"
}
]
}