AM/FA/Inv - Update OAuth Client
Details
Synopsis
This route is used to update an existing OAuth client.
This route would typically be used to grant or revoke access scopes to a specific client.
This endpoint can be called by applications with access to scope "manageExternalClients".
Authorizations
Body
clientIdstring · min: 5 · max: 50RequiredExample:
The unique identifier of the OAuth client. Must be alphanumeric
TEST1234
Pattern: ^[a-zA-Z0-9-]*$
applicationstringRequiredExample:
The name of application that this API client is associated with.
TEST1234 App
Responses
204
Successfully updated OAuth client
400
The following error codes can be returned:
- GN0002
Please refer to the error code dictionary for the details of each error code.
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
403
The following error codes can be returned:
- AU0002
- AU0008
Please refer to the error code dictionary for the details of each error code.
application/json
404
The following error codes can be returned:
- AU0005
- AU0006
Please refer to the error code dictionary for the details of each error code.
application/json
put
PUT /external/v1/oauth/client HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 173
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"clientId": "TEST1234",
"accessScopes": [
"createSubscription",
"readSubscription"
],
"application": "TEST1234 App"
}
No content
Last updated
Was this helpful?