Skip to content

Delete a file from a context entry

DELETE
/v1/context/{id}/attachments/{attachmentId}
curl --request DELETE \
--url https://api.varman.io/v1/context/ctx_abc123def456/attachments/att_abc123def456 \
--header 'X-API-Key: <X-API-Key>'

Removes one supporting document from an org profile answer and deletes the stored file. Use list-context-attachments to find the attachment ID.

id
required
string

Example

ctx_abc123def456

Context entry ID

attachmentId
required
string

Example

att_abc123def456

Attachment ID

Attachment deleted