Skip to content
Last updated

Update metadata for a custom icon. Only works for custom icons (not system icons).

PATCHhttps://api.aitronos.com/v1/icons/organizations/{org_id}/{icon_id}

Path Parameters

org_id string required

The ID of the organization that owns the icon.

icon_id string required

The ID of the icon to update.

Request Body

name string optional

Updated name for the icon.

description string optional

Updated description for the icon.

tags array optional

Updated array of tags for the icon.

is_active boolean optional

Set to false to soft-delete the icon, or true to restore it.

Returns

Returns the updated Icon object if successful.

cURL
curl -X PATCH https://api.aitronos.com/v1/icons/organizations/org_123/icon_abc123 \
  -H "X-API-Key: $FREDDY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Updated Icon Name",
    "description": "Updated description",
    "tags": ["updated", "tags"],
    "is_active": true
  }'