cURL
curl --request PATCH \ --url https://api.lithoblocks.com/templates/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "type": "<string>", "user_name": "<string>", "icon_emoji": "<string>" } '
{ "id": "<string>", "name": "<string>", "type": "<string>", "userName": "<string>", "iconEmoji": "<string>", "updatedAt": "<string>", "message": "<string>" }
Update the metadata for a specific template (name, type, user_name, icon_emoji). Only the template author or users in the same organization can update templates.
LithoBlocks API key obtained from your organization dashboard
Template update data
1 - 255
100
10
Template updated successfully