Last updated 2 months ago
Requests block data by tag. Only users with a role that described in block are allowed to make the request.
Policy Id
"000000000000000000000001"
Block name (Tag)
"block-tag"
Successful operation.
const response = await fetch('/api/v1/policies/{policyId}/tag/{tagName}/blocks', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
{ "id": "text", "blockType": "text", "blocks": [] }