curl --location --request PUT 'https://api.stateset.com/v1/templates/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Update Template
This endpoint updates templates
PUT
/
v1
/
templates
/
{id}
curl --location --request PUT 'https://api.stateset.com/v1/templates/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Path parameters
string
required
The ID of the template to update.
Response
number
Indicates whether the call was successful. 1 if successful, 0 if not.
This endpoint returns an acknowledgement rather than the affected resource.
success is 1 when the write was applied and 0 when it was not — read
the resource back if you need its new state.Errors
Succeeds with201. Failures return 400, 401, 403, 422 or 429 with an error body, per the platform status-code contract.
curl --location --request PUT 'https://api.stateset.com/v1/templates/{id}' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"id": ""
}'
{
"success": 1
}
Last modified on August 30, 2026