AM/FA/Inv - Get All OAuth Clients for Current Organization
Details
/external/v1/oauth/client/current
Synopsis
This route is to be used by an OAuth client to get all the OAuth clients that are linked to the same organization as the current client. The client should be authenticated and a valid access token provided.
This endpoint can be called by applications with access to scope "manageExternalClients".
Authorizations
Responses
200
Successfully obtained the data
application/json
401
The following error codes can be returned:
- AU0001
Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned:
- AU0006
Please refer to the error code dictionary for the details of each error code.
application/json
get
GET /external/v1/oauth/client HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Accept: */*
[
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"clientId": "TEST1234",
"accessScopes": [
"createSubscription",
"readSubscription"
],
"application": "TEST1234 App",
"primary": true
}
]
Last updated
Was this helpful?