Last updated 2 months ago
Sends data to the specified block.
Policy Id
"000000000000000000000001"
Block name (Tag)
"block-tag"
Data
Successful operation.
const response = await fetch('/api/v1/policies/{policyId}/tag/{tagName}/blocks', { method: 'POST', headers: { "Authorization": "Bearer JWT", "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": "text", "blockType": "text", "blocks": [] }