Get all the roles in the workflow system
Get all the roles in the workflow system, including role name, description and privileges associated with each role.
Query parameters
Name | Type | Required |
---|---|---|
|
|
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
|
Examples
Request
# You can also use wget
curl -X GET /{orgId}/{itemId}/community/roles \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"roles": [
{
"roleName": "string",
"description": "string",
"privileges": [
"string"
]
}
]
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | Inline | |
| error |
Response details
Status Code 200
Roles
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
| |
|
|