Create a new template

Create and configure a new template by providing the necessary details in the request body.

POST

Parameters

Body

application/json
Name
REQUIRED
Name of the object
Object
REQUIRED
Reference to the object schema
Factory
Reference to the factory schema
Actions
REQUIRED
Array of actions that can be performed on the template.
Public_access
Public access configuration for the template
Face_id
Status codeDescription
200Successfully created resource with its unique identifier
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L -X POST \
"https://blockv-labs.io/templates" \
-H 'Accept: application/json'
Response
{
"id": "string"
}
json
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier of the created resource"
}
}
}