Tearleads

POST/blobs/{blobId}/attachment-bindings/{bindingId}/detach

Detach a blob attachment

Operation blobs.attachmentBindings.detach

Description

Removes an active attachment binding from its document slot through a signed attachment.detach event. Requires write access through an authorizing container path. A blob left with no active binding is kept for the attachment-retention grace period before garbage collection.

Authentication

Requires a signed-in session: the client sends its session token as a bearer token in the Authorization header.

Parameters

NameInTypeDetails
blobIdpathstringrequired
bindingIdpathstringrequired

Request body

application/jsonBlobAttachmentDetachRequest

A signed attachment.detach that removes an active binding from its slot.

4 fields

Other fields are allowed.

Responses

200 OK

application/jsonBlobAttachmentDetachResponse

Confirms which binding was detached.

4 fields
  • bindingIdstringrequired
  • blobIdstringrequired
  • documentIdstringrequired
  • slotIdstringrequired

Other fields are allowed.

Other responses

StatusMeaningBody
400Bad Request

application/jsonErrorResponse

401Unauthorized

application/jsonSessionFailureResponse

402Payment Required

application/jsonPaymentRequiredErrorResponse

403Forbidden

application/jsonErrorResponse

404Not Found

application/jsonErrorResponse

409Conflict

application/jsonBlobMutationFailureResponse

500Internal Server Error

application/jsonErrorResponse

503Service Unavailable

application/jsonErrorResponse