POST
/v2/mgmt/theme/export

Export a theme from a project utilizing a management key.

This endpoint is used to export a theme from a project. The response is the JSON of the theme.

See Also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer \<ProjectId:ManagementKey\>

Try it

/v2/mgmt/theme/export

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

< Project ID >:< Management Key > as bearer

In: header

Status codeDescription
200OK
curl -X POST "https://api.descope.com/v2/mgmt/theme/export" \
  -H "Authorization: Bearer <ProjectId:ManagementKey>"

{
  "theme": {
    "styles": {},
    "componentsVersion": "string",
    "references": {
      "connectors": {
        "property1": "string",
        "property2": "string"
      },
      "oauth": [
        "string"
      ],
      "roles": [
        "string"
      ],
      "userAttributes": [
        "string"
      ],
      "tenantAttributes": [
        "string"
      ]
    }
  }
}

Was this helpful?