POST
/
admin
/
api
/
v1
/
SubClient
/
{id}
/
logo
Update Registered client Logo
curl --request POST \
  --url https://admin-api.meshconnect.com/admin/api/v1/SubClient/{id}/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form logoFile=@example-file
{
  "content": {
    "logoUrl": "https://frontuserfilecdn.azureedge.net/public/clients/logo/oauth/registered/116a43e7-ddc9-4c61-b819-08ddd687d1d5f2fc96ed-cf41-454f-80c7-66520f5d047d.png"
  },
  "status": "ok",
  "message": "",
  "errorHash": "30967b18c0e36e35c43fe0ae36294a957bbcb743",
  "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 logo for

Body

multipart/form-data
logoFile
file
required

Logo image file (.png, .jpg, .jpeg only, max 5MB)

Response

Registered client logo added/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