POST
/
v3
/
theme-templates
cURL
curl --request POST \
  --url http://127.0.0.1:3333/v3/theme-templates/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "theme": {},
  "workspaceId": "<string>"
}
'
{
  "themeTemplate": {
    "id": "<string>",
    "name": "<string>",
    "theme": {},
    "workspaceId": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required
theme
object
required
workspaceId
string
required

Response

200 - application/json

Default Response

themeTemplate
object
required