Skip to main content
DELETE
/
users
/
{user_id}
Delete a user
curl --request DELETE \
  --url https://api.platform.dakota.xyz/users/{user_id} \
  --header 'x-api-key: <api-key>'
{
  "type": "https://docs.dakota.xyz/api-reference/errors#invalid-request",
  "title": "Invalid request",
  "status": 400,
  "detail": "Invalid request",
  "instance": "https://api.platform.dakota.xyz/users/example-id",
  "request_id": "req_01hzy6y7v8w9x0y1z2a3b4c5d6"
}

Authorizations

x-api-key
string
header
required

Path Parameters

user_id
string
required

Unique identifier of the user 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

user deleted successfully