Skip to main content
DELETE
/
applications
/
{application_id}
/
documents
/
{document_id}
Delete an onboarding document
curl --request DELETE \
  --url https://api.platform.dakota.xyz/applications/{application_id}/documents/{document_id} \
  --header 'x-api-key: <api-key>'
{
  "code": "invalid_request",
  "message": "The request was invalid. Please check your input and try again.",
  "details": {
    "field": "amount",
    "issue": "must be greater than 0"
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

application_id
string
required

The unique identifier for the application KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

document_id
string
required

The unique identifier for the document to delete KSUID is a 27-character globally unique ID that combines a timestamp with a random component. Used for all entity identifiers in the Dakota platform.

Required string length: 27
Pattern: ^[0-9A-Za-z]{27}$
Example:

"1NFHrqBHb3cTfLVkFSGmHZqdDPi"

Response

Document successfully deleted