List the identity roles an administrator role may grant in an Environment
/portal/v1/accounts/{accountSlug}/admin-roles/{adminRoleId}/grantable-rolesAuthentication
Bearer Token
AuthorizationJWT access token. Never send alongside X-API-Key: a request carrying both is refused.
Path Parameters
adminRoleIdstring Required Query Parameters
environmentIdstring Required Environment whose grantable roles to read
Responses
application/json
items *string[]
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
application/json
error *ApiErrorBodyDto
curl -X GET "https://auth.canopy-io.com/portal/v1/accounts/{accountSlug}/admin-roles/value/grantable-roles?environmentId=value" \ -H "Authorization: Bearer $CANOPY_TOKEN"
{ "items": [ "string" ] }
Tell us how we can improve this guide.