PUT
/
admin
/
api
/
v1
/
SubClient
/
{id}
Update Registered client
curl --request PUT \
  --url https://admin-api.meshconnect.com/admin/api/v1/SubClient/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "businessLegalName": "Client 1 Business Legal Name",
  "displayName": "Client 1 Display Name",
  "callbackUrls": [
    "https://your-website1.com",
    "https://your-website2.com"
  ]
}'
{
  "content": {
    "id": "959df24e-2c73-41e1-9735-c731f543c934",
    "logoUrl": "https://frontuserfilecdn.azureedge.net/public/clients/logo/oauth/registered/116a43e7-ddc9-4c61-b819-08ddd687d1d5f2fc96ed-cf41-454f-80c7-66520f5d047d.png",
    "businessLegalName": "Client 1 Business Legal Name",
    "displayName": "Client 1 Display Name",
    "callbackUrls": [
      "https://your-website1.com",
      "https://your-website2.com"
    ]
  },
  "status": "ok",
  "message": "",
  "errorHash": "51d01c67d9e8b7ff7fc443726a97325d4cc15e16",
  "errorType": ""
}

Authorizations

Authorization
string
header
required

Authorization header using the Bearer scheme. Example: "Authorization: Bearer {Value}"

Path Parameters

id
string<uuid>
required

The identifier of the Registered client to update

Body

application/json

Update Registered client request

Registered client Business Legal Name

Maximum length: 300
displayName
string
required

Registered client Display Name

Maximum length: 300
callbackUrls
string[] | null

Registered client Allowed Link URLs. If no Allowed Link URLs are specified, Allowed Link URLs from main client will be used.

Maximum length: 50

Response

Registered client updated

status
enum<string>
Available options:
ok,
serverFailure,
permissionDenied,
badRequest,
notFound,
conflict,
tooManyRequest,
locked,
unavailableForLegalReasons
message
string | null

A message generated by the API

displayMessage
string | null

User-friendly display message that can be presented to the end user

errorHash
string | null

An error grouping hash from string components and caller information. Used by bugsnag on FE for correct error grouping

errorType
string | null

Strictly-typed error type that is explaining the reason of an unsuccessful status of the operation. All possible error types are available in the documentation.

errorData
any
content
object