Create Chart Theme

Create a new chart theme.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
namestringRequired
The name of the theme.
contentobjectRequired
The theme fields.
workspacestringOptional
The workspace in which to create the theme. If not provided, the theme will be created in the default workspace for the user's organization, if the default workspace for the organization is configured.

Response

This endpoint returns an object.
ridstring
Unique resource identifier for the theme.
namestring
The name of the theme as defined by the user.
createdBystring
The rid of the user who first created the theme.
createdAtdatetime
The time the theme was created.
contentobject

Specifies the chart theme styling (e.g. font, legends, axes)

updatedBystringOptional
The rid of the user who last updated the theme.
updatedAtdatetimeOptional
The rid of the user who last updated the theme.