Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

setTenantUITemplate

Sets the per-workflow UI bundle URL templates for the tenant (remoteWebUITemplate / remoteMobileUITemplate in tenant.data). The templates carry {{.Slug}}/{{.Version}} placeholders that the workflow service resolves per execution from the pinned deployment version.

Customers must never set these, so the resolver rejects any non-system caller (ROLE_SYSTEM / IsSystemUser). Target tenant is derived from X-Pyck-Tenant-Id (req.MutationTenantID). Only the provided fields are written; omitted fields are left unchanged. Idempotent when the values already match. The Zitadel root organization is refused as the target: it is not a tenant.

Served by: management

Name Type
input SetTenantUITemplateInput!

SetTenantUITemplateResponse!

Sets the web UI bundle URL template of the tenant named by the X-Pyck-Tenant-Id header and leaves the mobile template unchanged. System caller only.

mutation SetTenantUITemplate($input: SetTenantUITemplateInput!) {
setTenantUITemplate(input: $input) {
success
}
}

Variables

{
"input": {
"webTemplate": "<web UI bundle URL template>"
}
}