Skip to main content
PUT
/
identity
/
v1
/
organizations
/
{organizationId}
/
logo
Uploads a logo for an organization.
curl --request PUT \
  --url https://api.sandbox.tesouro.com/identity/v1/organizations/{organizationId}/logo \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "createdAt": "2023-11-07T05:31:56Z",
  "fileType": "<string>",
  "md5": "<string>",
  "mimetype": "<string>",
  "name": "<string>",
  "region": "<string>",
  "size": 123,
  "url": "<string>",
  "pages": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "mimetype": "<string>",
      "number": 123,
      "size": 123,
      "url": "<string>"
    }
  ],
  "previews": [
    {
      "height": 123,
      "url": "<string>",
      "width": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.tesouro.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Application (M2M) OAuth2 access token (client credentials).

Path Parameters

organizationId
string<uuid>
required

The organization ID.

Body

multipart/form-data
file
file
required

Response

Returns the uploaded logo file metadata.

id
string<uuid>
required
createdAt
string<date-time>
required
fileType
string
required
md5
string
required
mimetype
string
required
name
string
required
region
string
required
size
required
url
string
required
pages
null | object[]
previews
null | object[]