Auth Grants

Add AuthGrant to your profile

post

Add AuthGrant to your profile

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
namestringOptional
descriptionstringOptional
scopestringOptional
expiresAtany ofOptional
string · date-timeOptionalPattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
or
nullOptional
Responses
200

Successful response

application/json
Responsestring
post
/auth-grant/create

Get AuthGrant

get

Get AuthGrant

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successful response

application/json
get
/auth-grant/{id}

Delete AuthGrant

delete

Delete AuthGrant

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successful response

application/json
Responseboolean
delete
/auth-grant/{id}

Get My AuthGrants

post

Get My AuthGrants

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
limitnumberOptional
cursorstringOptional
Responses
200

Successful response

application/json
post
/profile/auth-grants

Update AuthGrant

post

Update AuthGrant

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Body
Responses
200

Successful response

application/json
Responseboolean
post
/auth-grant/update/{id}

Revoke AuthGrant

post

Revoke AuthGrant

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired
Responses
200

Successful response

application/json
Responseboolean
post
/auth-grant/{id}/revoke

Last updated

Was this helpful?