POST
/v1/mgmt/theme/import

Import a theme to a project utilizing a management key.

This endpoint is used to import a theme from a project. The request body for this endpoint can be received from the export theme endpoint.

See Also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v1/mgmt/theme/import

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

themeobject

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v1/mgmt/theme/import" \
  -d '{
  "theme": {
    "id": "string",
    "version": 0,
    "cssTemplate": {},
    "componentsVersion": "string",
    "codeMode": true
  }
}'

{
  "theme": {
    "id": "string",
    "version": 0,
    "cssTemplate": {},
    "componentsVersion": "string",
    "codeMode": true
  }
}

Was this helpful?