Journey Docs
Partner API ExplorerTheme Kits

Delete an entity’s theme kit

Required scopepartner:theme-kits:manage
DELETE
/v1/partner/theme-kits/{entityType}/{entityExternalId}

Removes the kit so the entity reverts to the styling it inherits. Optimistically concurrent via expectedVersion.

Authorization

headerAuthorizationBearer <token>

WorkOS access token (JWT) for a user who is a member of the partner organization. The organization the request is scoped to is taken from the token, not from a header or query parameter.

Only a JWT is accepted in this header. A Journey jny_ API key sent as a bearer token is rejected with 401 Invalid or expired token; send it in X-API-Key instead.

WorkOS organization API keys are not accepted yet.

Path Parameters

entityExternalId*string

External id of that organization, brand, or property.

entityType*string

The kind of entity the kit is attached to.

Value in"organization""brand""property"

Query Parameters

expectedVersion*number

The version that was loaded; a stale value is a 409.

Range1 <= value
organizationId?string

Global (Journey staff) callers name the organization they act within.

Lengthlength <= 100

Response Body

The theme kit was removed.

curl -X DELETE 'https://api-prd.cf.journey.com/v1/partner/theme-kits/organization/string?expectedVersion=1'
Empty