Delete an attachment

Requires the ATTACHMENT.DELETE permission.

Authentication

X-API-KEYstring
API Key authentication via header
OR
AuthorizationBearer

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

Path parameters

versionstringRequiredDefaults to 1
version
resourceIdstringRequiredDefaults to
The ID of the resource to be requested.

Headers

x-platform-idstringOptional
Platform ID.

Response

OK
document_idstring
The document ID to attach.
object_typestring or nullRead-only
idstring or nullRead-only
created_atstring or nullRead-only
documentobject or null
The expanded document object.
resourceobject
The resource to attach the document to.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error