oauth2

get

Lists the OAuth2 authorizations (grants) of the currently authenticated user.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Responses
chevron-right
200

Happy response.

application/json

Contains a list of OAuth2 user authorizations.

get
/api/v0/users/me/oauth2/authorizations
delete

Revokes the specified OAuth2 authorization (grant) of the currently authenticated user.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
idstringRequired

Identifier of the OAuth2 authorization grant to revoke.

Responses
delete
/api/v0/users/me/oauth2/authorizations/{id}

No content

post

Authorises the client to act on behalf of the principal that makes the request.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Body
client_idstringRequired
redirect_uristringRequired
response_typestringRequired
scopestring[]Required
statestringRequired
code_challengestringOptional
code_challenge_methodstringOptional
Responses
chevron-right
200

Happy response.

application/json
redirect_uristringRequired
post
/api/v1/oauth2/authorize

Last updated

Was this helpful?