Skip to main content
DELETE
Delete a customer document

Authorizations

X-API-Key
string
header
required

Partner API key. Sandbox keys start with is_test_; production keys start with is_live_. Keys are not interchangeable across environments. Send on every request. Never expose in browser or mobile clients.

Path Parameters

customer_id
string
required

Public customer id returned on create

Example:

"pcus_a1b2c3d4e5f6"

document_id
string
required

Public document id from GET customer or upload response

Required string length: 1 - 64
Example:

"pdoc_a1b2c3d4e5f6"

Response

Document deleted; returns deleted id and updated customer.

status
enum<string>
required
Available options:
success
Example:

"success"

message
string
required
Example:

"Document deleted"

data
PartnerCustomerDocumentDeleteData · object
required