Skip to content

Update user asset ​

PATCH/api/v1/assets/user-assets/{asset_id}/

Mark user asset as uploaded

Path Parameters ​

asset_id:requiredstring

Asset ID

Body Parameters ​

attributes:optionalobject

Additional attributes to update for the asset

Scopes ​

assets:write

Update user asset
bash
curl -X PATCH \
  "https://api.plane.so/api/v1/assets/user-assets/550e8400-e29b-41d4-a716-446655440002/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  # Or use -H "Authorization: Bearer $PLANE_OAUTH_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "attributes": {
    "name": "Example Name",
    "type": "image/jpeg",
    "size": 1024000
  },
  "entity_type": "USER_AVATAR"
}'
Response204

No response body.