Skip to main content
POST
/
workspace
/
{id}
/
avatar
curl -X POST https://app.drime.cloud/api/v1/workspace/1873/avatar \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "avatar": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
  }'
{
  "workspace": {
    "id": 1873,
    "name": "My Workspace",
    "avatar": "https://app.drime.cloud/storage/workspace-avatars/abc123.png",
    "updated_at": "2025-12-20T10:00:00.000000Z"
  },
  "status": "success"
}

Overview

Uploads a new avatar image for a workspace.

Path Parameters

id
integer
required
The workspace ID

Request Body

avatar
string
required
Base64 encoded image data

Response

workspace
object
The updated workspace object with new avatar URL
status
string
Request status (success)
curl -X POST https://app.drime.cloud/api/v1/workspace/1873/avatar \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "avatar": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
  }'
{
  "workspace": {
    "id": 1873,
    "name": "My Workspace",
    "avatar": "https://app.drime.cloud/storage/workspace-avatars/abc123.png",
    "updated_at": "2025-12-20T10:00:00.000000Z"
  },
  "status": "success"
}