解除帳號綁定

Unbind customer

post

Unbind a customer from the current session or context

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Query parameters
botIdstringRequired

The bot ID for the API request

Body
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
clientIdstringRequired

The client ID (platform UUID) to bind/unbind

Example: client_123
customerIdstringRequired

The customer ID to bind/unbind

Example: customer_456
Responses
200

Customer unbound successfully

application/json
post
/openapi/unbind/customer
POST /api/openapi/unbind/customer?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 85

{
  "secret": "your_secret_key_here",
  "clientId": "client_123",
  "customerId": "customer_456"
}
{
  "success": true,
  "message": "Unbind customer successfully"
}

Last updated