Skip to content
Letterhead Letterhead Letterhead Help Center
Admin Tools

Update a letter's permissions

POST
/api/v3/letters/{letterUuid}/permissions
curl --request POST \
--url https://api.tryletterhead.com/api/v3/letters/example/permissions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "allowAdd": true, "allowClone": true, "allowDelete": false, "allowMove": true }'

Update which editing actions are allowed on a letter β€” adding blocks, cloning, deleting, and reordering (moving) blocks. This is the narrower alternative updateALetter points to when you only need to change permissions rather than round-tripping the whole letter.

letterUuid
required
string

The letter’s unique identifier β€” an alphanumeric string around ten characters, e.g. ludctamgd6.

Media type application/json
object
allowAdd

(optional) Whether new blocks can be added to the letter.

boolean
allowClone
required
boolean
allowDelete
required
boolean
allowMove

(optional) Whether existing blocks can be reordered.

boolean
Example
{
"allowAdd": true,
"allowClone": true,
"allowDelete": false,
"allowMove": true
}

Permissions updated

Still can’t find what you need? Contact support.