Grants

grants

Methods

Delete A Grant By ID ->
delete/grants/{id}

Delete a grant associated with your account.

Get Grants -> GrantsPageNumberPage<{ id, audience, clientID, 2 more... }>
get/grants

Retrieve the grants associated with your account.

Security

Example: Authorization: Bearer My Bearer Token

Parameters
audience: string
Optional

audience of the grants to retrieve.

client_id: string
Optional

client_id of the grants to retrieve.

include_totals: boolean
Optional

Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).

page: number
Optional
(minimum: 0)

Page index of the results to return. First page is 0.

per_page: number
Optional
(maximum: 100, minimum: 1)

Number of results per page.

user_id: string
Optional

user_id of the grants to retrieve.

Response fields
UnionMember0 = Array<{ id, audience, clientID, 2 more... }>
UnionMember1 = { grants, limit, start, 1 more... }
Request example
200Example