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
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
input |
SetTenantUITemplateInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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>" }}