Skip to main content

Set Client's OAuth Logo

Creates or updates a client's OAuth logo and triggers an OAuth registration event, even when updating an existing image.

The image must be in PNG format and exactly 100px by 100px.

POST
/clients/{client_guid}/oauth_logo

Path Parameters

FieldRequiredType

client_guid

The unique identifier for the client. Defined by MX.

Required
String

Request sample

Language:shell

_10
curl -L -X GET 'https://int-api.mx.com/clients/{client_guid}/oauth_logo' \
_10
-H 'Accept: application/vnd.mx.api.v1+json' \
_10
-H 'Authorization: Basic BASE_64_ENCODING_OF{client_id:api_key}'

Response sample

200
Language:json

_10
{
_10
"oauth_logo": {
_10
"url": "https://s3.us-east-1.amazonaws.com/MD_Client/oauth_logos/{client_guid}.png"
_10
}
_10
}