Skip to content

List user grants

Request

Retrieves a list of user grants.

Security
ZephrHmacHttp
Path
userIdstringrequired

Unique User identifier

Query
activeboolean

Whether or not to include only active grants

Example:active=true
cURL
curl -i -X GET \
  'https://demo.api.zephr.com/v3/users/{userId}/grants?active=true' \
  -H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'

Responses

Returns a list of grants for the user

Headers
any
Bodyapplication/json
One of:
resultsArray of objects(grant-response)
Response
{ "results": [ { … } ] }