v1

latestOpenAPI 3.0.02026-07-2614018.4 KB
Development API - Block Templates

Update a BlockTemplate.

Updates an existing block template if forceUpdate is true. Requires write auth.

put/client/blockTemplates/{blockTemplateId}

Path parameters

blockTemplateIdstring required

ID of the block template to change to be updated

Request body

labelstring

The label of the BlockTemplate.

codestring

The encoded source code for the BlockTemplate.

transpiledCodestring

The encoded transpiled code for the BlockTemplate.

manifestOptionsListobject[]

List of manifest options.

forceUpdateboolean

If true, forces an update on an existing BlockTemplate.

updateDescriptionstring

Description for the update.

tagsstring[]

Tags associated with the BlockTemplate.

statusstring

Status of the BlockTemplate.

versionIndexnumber

The index of the version to set (only used if force updating).

Response

BlockTemplate successfully created or updated.