Skip to main content
PATCH
/
api
/
v1
/
prompt-blocks
/
{name}
Update Prompt Block
curl --request PATCH \
  --url https://api.example.com/api/v1/prompt-blocks/{name}

Path Parameters

ParameterTypeDescription
namestringPrompt block name

Request

{
  "body": "Prioritize renewal risk, expansion signals, and open executive asks.",
  "order": 45,
  "enabled": true
}
Dynamic blocks reject body; update metadata such as description, message, mode, scope, tags, order, ttl, agents, or enabled.