Skip to content

Returns a list of your user's access scopes

Request

Security
CookieBlaizeSession or JwtQuery or JwtHeaderXBlaizeJwt or JwtHeaderXZephrJwt or JwtBearer or JwtCookie
Path
clientIdstringrequired

The Zephr site's Oauth2 client ID.

cURL
curl -i -X GET \
  'https://demo-site/zephr/oauth2/consent/{clientId}' \
  -b blaize_session=YOUR_API_KEY_HERE

Responses

OK

Bodyapplication/json
consentArray of strings
Response
{ "consent": [ "user.account:read", "user.account:write" ] }