Scratchpad
Delete scratchpad item
Permanently deletes a scratchpad item and its stored image/file, if any.
DELETE
/api/public/scratchpad/:idcURLDELETE /api/public/scratchpad/:id
curl -X DELETE "https://postiv.ai/api/public/scratchpad/ID_ID" \
-H "Authorization: Bearer pk_postiv_..."200Response
{
"success": true
}Authorization
Requires an organization API key with the scratchpad:write scope, sent as Authorization: Bearer or x-api-key.
Path parameters
idstringrequiredResource id from the corresponding list or create endpoint.
Response
Bare success flag.
Errors
| 404 | scratchpad_item_not_found |
Good to know
- Rarely necessary: every scrap auto-expires after 30 days.