Delete customer
DELETEhttps://apis.<domain>/customers/:id
Authorization: http
name: bearerTokentype: httpscheme: bearerin: headerdescription: Authorization Header: `Authorization: Bearer <user_token>`
Delete customer.
Authorization Action:
pay:customers:delete
Request
Path Parameters
id stringrequired
Responses
- 200
- application/json
- Schema
- Example (from schema)
Schema
id stringrequired
deleted booleanrequired
{
"id": "string",
"deleted": true
}
- curl
- python
- go
- nodejs
- ruby
- csharp
- php
- java
- powershell
- CURL
curl -L -X DELETE 'https://apis.<domain>/customers/:id' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'