Delete Attachment
/attachments/{attachment_ref} Deletes canonical attachment metadata and returns its final representation.
Conventions
Authentication
All endpoints require a Bearer token. Pass it in the Authorization header as Bearer <token>. Tokens are issued from the API settings page in your workspace.
Base URL
All paths are relative to https://api.allsign.app. The spec includes full paths; strip the base when constructing requests.
Versioning
The current version is 0.1.0. Breaking changes are documented in the Changelog and announced before taking effect.
Specification
The API follows OpenAPI Specification 3.x. All documentation on this page is generated directly from the spec.
Example
curl "https://api.allsign.app/attachments/{attachment_ref}" \-X DELETE \-H "Authorization: Bearer {token}"
Request
Request Path
attachment_refPublic attachment reference.
Responses
200 OK
Deleted attachment representation.
{
"data": {
"attachment": {
"checksum": "",
"checksum_algorithm": "",
"description": "",
"kind": "file",
"name": "",
"ref": "00000000-0000-4000-8000-000000000000",
"url": ""
}
}
}data
data.attachmentCanonical attachment resource.
data.attachment.checksum
data.attachment.checksum_algorithm
data.attachment.description
data.attachment.kind
data.attachment.name
data.attachment.refPublic stable resource reference.
data.attachment.url
401 Unauthorized
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields
404 Not Found
{
"error": {
"code": "",
"message": "",
"request_id": "",
"status": 1
}
}error
error.code
error.message
error.request_id
error.status
error.fields