This route is used to create a new OAuth client. This new client will be linked to the same organization as the client that is making the current request.
This route will typically be used by the primary OAuth client of the organization to register other clients to be used by different back-office apps to execute a subset of actions.
This endpoint can be called by applications with access to scope "manageExternalClients".
The password of this OAuth client
u7/JvJ+:X?Wc]6}.
The name of application that this client is associated with.
TEST1234 App
POST /external/v1/oauth/client HTTP/1.1
Host:
Authorization: Bearer YOUR_OAUTH2_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 181
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"accessScopes": [
"createSubscription",
"readSubscription"
],
"password": "u7/JvJ+:X?Wc]6}.",
"application": "TEST1234 App"
}
{
"extraData": {
"externalId": "123456789",
"some": "Custom Property"
},
"clientId": "TEST1234",
"accessScopes": [
"createSubscription",
"readSubscription"
],
"application": "TEST1234 App"
}