Get group permissions
Use GET /v2/accounts/{account-uuid}/groups/{group-uuid}/permissions
to fetch the permissions of a user group.
Endpoint
/v2/accounts/{account-uuid}/groups/{group-uuid}/permissions
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
account-uuid | string | - | path | required |
group-uuid | string | - | path | required |
Response
Response codes
Code | Type | Description |
---|---|---|
200 | Rest | Account group with permission |
400 | ExceptionMessage | Invalid account or group name parameter |
404 | ExceptionMessage | Account group with permission can not be found by account and group name |
Response body objects
The RestGroupWithPermissions
object
Element | Type | Description |
---|---|---|
uuid | string | - |
name | string | - |
owner | string | - |
description | string | - |
federatedAttributeValues | string[] | - |
createdAt | string | - |
updatedAt | string | - |
permissions | Rest | - |
The RestPermissionWithScope
object
Element | Type | Description |
---|---|---|
permissionName | string | - |
scope | string | - |
scopeType | string | - |
createdAt | string | - |
updatedAt | string | - |
Response body JSON model
{
"uuid": "string",
"name": "string",
"owner": "string",
"description": "string",
"federatedAttributeValues": [
"string"
],
"createdAt": "string",
"updatedAt": "string",
"permissions": [
{
"permissionName": "string",
"scope": "string",
"scopeType": "string",
"createdAt": "string",
"updatedAt": "string"
}
]
}