Get details of super-role
GET
/api-v1/global/super-role/{id}
Headers
-
TARGET-ORGANIZATION-ID integer(int32)
ID of organization, for which the operation must be performed
-
WEAL-TOKEN string Required
API token (can be retrieved from account settings)
Path parameters
-
id integer Required
id
GET /api-v1/global/super-role/{id}
curl \
-X GET http://wyzio.app/api-v1/global/super-role/{id} \
-H "TARGET-ORGANIZATION-ID: 42" \
-H "WEAL-TOKEN: string"
Response examples (200)
{
"description": "string",
"global": true,
"id": 42,
"isDefault": true,
"name": "string",
"type": "ROLE",
"roles": [
{
"description": "string",
"global": true,
"id": 42,
"isDefault": true,
"name": "string",
"type": "ROLE",
"permissions": [
{
"canCreate": true,
"canDelete": true,
"canExport": true,
"canModify": true,
"canView": true,
"deleteType": "NONE",
"id": 42,
"modifyType": "NONE",
"module": "ALL",
"sub0": "ALL",
"sub1": "ALL",
"sub2": "ALL",
"viewType": "NONE"
}
]
}
]
}