Query
query AvailableScopes {
availableScopes {
action
resource
}
}Response
{
"data": {
"availableScopes": [
{
"action": "READ",
"resource": "API_KEY"
}
]
}
}Queries
availableScopes
Returns all available valid resource-action combinations for API key scopes
QUERY
availableScopes: [ApiKeyScope!]!Returns
[ApiKeyScope!]!
action
The action allowed on the resource
resource
The resource type for the scope
Query
query AvailableScopes {
availableScopes {
action
resource
}
}Response
{
"data": {
"availableScopes": [
{
"action": "READ",
"resource": "API_KEY"
}
]
}
}