ConsistlyAPI
Icons

Update an icon

PATCH
/icons/{id}
AuthorizationBearer <token>

Bearer API key. CMS endpoints require cms:read or cms:write (plus narrower writes for specific resources).

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://example.com/icons/icon_abc..." \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "string",  "object": "icon",  "organization": "string",  "set": "string",  "name": "string",  "filename": "string",  "tags": [    "string"  ],  "color": "string",  "gradient_start": "string",  "gradient_end": "string",  "gradient_angle": 0,  "uploaded_by": "string",  "created": "2019-08-24T14:15:22Z",  "updated": "2019-08-24T14:15:22Z"}
{  "error": {}}