PUT
/
subaccounts
/
{id}
/
logo
curl --request PUT \
  --url https://api.cnaught.com/v1/subaccounts/{id}/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>'
{
  "id": "5nubL0NS",
  "name": "Operations Department",
  "default_portfolio_id": "eWvNvC12",
  "logo_url": "https://customer-assets.cnaught.com/fe0df075-30e2-4e58-9feb-154e72a9205f/subaccount_logo.png"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Content-Type
enum<string>
required

The content type for the image being uploaded. Must be a supported image type (see description for list of valid types)

Available options:
image/png,
image/jpeg,
image/webp,
image/svg+xml

Path Parameters

id
string
required

ID of subaccount to modify logo for

Examples:

"5nubL0NS"

Body

Subaccount Logo Image Content

The body is of type file.

Response

200
application/json

Subaccount Details after update

The response is of type object.