Skip to main content
POST
Archive a template

Authorizations

Authorization
string
header
required

An admin application key: Authorization: Api-Key <token> (or legacy x-api-key). Only tenant owners and admins can create one. Standard keys are refused with 403 on workspace management and tenant configuration routes.

Path Parameters

orgId
string
required

The organization (tenant) id. Must equal the tenant of the admin key.

workspaceId
string
required

A workspace id in this organization. A workspace of another organization is 404.

templateId
string
required

The template id.

Body

application/json

Activate or archive a template. The summary is optional (a default is generated). A stale version or an invalid transition is 409.

expectedVersion
integer
required
Required range: x >= 1
changeSummary
string
Maximum string length: 500

Response

Success

Envelope { data: { id, ... } } carrying the requested tenant-configuration record(s).

data
object