cURL
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>" } }
Uploads an icon image for an organization. The image is stored and the organization is updated with the new icon URL. Requires admin access.
API key authentication using Bearer token format: Bearer bd_key_<secret>
Bearer bd_key_<secret>
Organization ID
Image file (JPEG or PNG). Maximum size: 2 MB.
Icon uploaded successfully
Show child attributes
Was this page helpful?