Get the collection of groups this capability is assigned to

get/capabilities/{capabilityName}/groups

Get the collection of groups this capability is assigned to where each group is represented as a Principal object

Request Samples

1

Response Samples

1{
2 "values": [
3 {
4 "principal": {
5 "version": 1,
6 "name": "SASAdministrators",
7 "type": "group"
8 }
9 },
10 {
11 "principal": {
12 "version": 1,
13 "type": "authenticated-users"
14 }
15 }
16 ]
17}

Path Parameters

NameTypeRequiredDescription
capabilityName
string
true

The name of the cpapbility to find groups for

Query Parameters

NameTypeRequiredDescription
limit
integer
false

The maximum number of results to return in the response.

start
integer
false

The index in the results to begin from

filter
string<filter-criteria>
false

Constraints on which groups to retrieve

Responses

StatusMeaningDescription
200OK

OK

HeadersSchema
404Not Found

No capability with the specified name has been found

Schema