Publish a template draft

Make the template's draft live to end users as one new version. The draft is consumed by the publish. Requires edit permission on the template and the draft's current revision token.

Path Params
string
required

The unique identifier for the template to publish.

Body Params

PublishTemplateRequest parameters for rpc PublishTemplate.

string
required

Publish only if the draft is exactly at this revision, taken from a prior
read or mutation. Otherwise ABORTED / STALE_DRAFT_REVISION, with the
current token in the ErrorInfo metadata under current_draft_revision,
which is empty when the draft no longer exists.

Required, unlike on UpdateTemplateDraft, so that draft content the caller
has not read cannot go live to end users.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json