POST
/v2/mgmt/theme/import

Authorization

AuthorizationRequiredBearer <token>

< Project ID >:< Management Key > as bearer

In: header

Request Body

application/jsonRequired
themeobject

Used by managementservice snapshots - make sure not to break compatibility

curl -X POST "https://api.descope.com/v2/mgmt/theme/import" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "theme": {
      "styles": {},
      "componentsVersion": "string",
      "references": {
        "connectors": {
          "property1": "string",
          "property2": "string"
        },
        "oauth": [
          "string"
        ],
        "roles": [
          "string"
        ],
        "userAttributes": [
          "string"
        ],
        "tenantAttributes": [
          "string"
        ]
      }
    }
  }'

OK

Was this helpful?