Skip to main content
PUT
/
themes
/
{id}
cURL
curl --request PUT \
  --url https://api.example.com/themes/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "color": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "variables": {},
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "organizationId": "<string>"
}

Path Parameters

id
string
required

The ID of the theme to update

Example:

"123"

Body

application/json
name
string
required

The name of the theme

color
string
required

The color of the theme

Response

200 - application/json

The theme that was updated

id
string
required

The ID of the theme

name
string
required

The name of the theme

variables
object
required

The theme palette

createdAt
string<date-time>
required

The date the theme was created

updatedAt
string<date-time>
required

The date the theme was last updated

organizationId
string
required

The organization that owns the theme