List Roles
Request
URI
GET
https://{api_host}/api/roles
COPY
Responses
200
Returns
iamListRolesResponse
of type(s)
*/*
{
"pageInfo": {
"totalPages": "string",
"totalElements": "string",
"page": 0,
"pageSize": 0
},
"roles": [
{
"lastUpdatedTime": "string",
"name": "string",
"lastUpdatedBy": "string",
"updateVersion": 0,
"createdBy": "string",
"createdTime": "string",
"orgId": "string",
"permissions": [
{
"permissionNumber": 0,
"name": "string",
"description": "string"
}
],
"id": "string",
"description": "string"
}
]
}
object
pageInfo
Optional
pageInfo
array of
object
roles
Optional
roles
404
Not Found
Operation doesn't return any data structure
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/api/roles
Role Service Operations
PUT
Update Role
DELETE
Delete Role
GET
Get Role
POST
Create Role
GET
List Roles