Skip to main content
POST
/
api
/
public
/
organizations
/
{id}
/
icon
Upload organization icon
curl --request POST \
  --url https://charts.basedash.com/api/public/organizations/{id}/icon \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form icon='@example-file'
{
  "data": {
    "iconUrl": "<string>"
  }
}

Authorizations

Authorization
string
header
required

API key authentication using Bearer token format: Bearer bd_key_<secret>

Path Parameters

id
string
required

Organization ID

Body

multipart/form-data
icon
file

Image file (JPEG or PNG). Maximum size: 2 MB.

Response

Icon uploaded successfully

data
object
required