Skip to main content
DELETE
/
attachments
/
{attachmentPublicId}
Delete an attachment
curl --request DELETE \
  --url https://kan.bn/api/v1/attachments/{attachmentPublicId} \
  --header 'Authorization: Bearer <token>'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

attachmentPublicId
string
required
Minimum length: 12

Response

Successful response

success
boolean
required