Update a BlockTemplate.

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

Path Params
string
required

ID of the block template to change to be updated

Body Params
owner
object
string

The label of the BlockTemplate.

string

The encoded source code for the BlockTemplate.

string

The encoded transpiled code for the BlockTemplate.

manifestOptionsList
array of objects

List of manifest options.

manifestOptionsList
boolean
Defaults to false

If true, forces an update on an existing BlockTemplate.

string

Description for the update.

tags
array of strings

Tags associated with the BlockTemplate.

tags
string

Status of the BlockTemplate.

number

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

Responses
200

BlockTemplate successfully created or updated.

400

Bad request, including invalid versionIndex or missing required fields.

401

Unauthorized access.

404

BlockTemplate not found when force updating.

500

Internal server error.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here!