清空會員點數

Clear client points

delete

Clear all points for multiple clients. This operation will delete all client point records for the specified clients.

Conditional validation rules:

  • Can provide 'clientIds' for encoded client IDs

  • Can provide both 'platform' and 'platformClientIds' for platform-specific client lookup

  • At least one of clientIds or (platform + platformClientIds) must be provided

Authorizations
Query parameters
botIdstringRequired

The bot ID for the API request

Body

Client identification rules:

  • Can provide 'clientIds' for encoded client IDs
  • Can provide both 'platform' and 'platformClientIds' for platform-specific client lookup
  • At least one of clientIds or (platform + platformClientIds) must be provided
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
clientIdsstring[] · max: 100Optional

Array of encoded client IDs (maximum 100 items)

Example: ["VolejRejN","AbCdEfGhI","XyZaBcDeF"]
platformstring · enumOptional

Platform type (required if platformClientIds provided)

Example: linePossible values:
platformClientIdsstring[] · max: 100Optional

Array of platform-specific client IDs (maximum 100 items, required if platform provided)

Example: ["U1234567890abcdef","U9876543210fedcba"]
Responses
200
Client points cleared successfully
application/json
delete
DELETE /api/openapi/client/point HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 163

{
  "secret": "your_secret_key_here",
  "clientIds": [
    "VolejRejN",
    "AbCdEfGhI",
    "XyZaBcDeF"
  ],
  "platform": "line",
  "platformClientIds": [
    "U1234567890abcdef",
    "U9876543210fedcba"
  ]
}
{
  "success": true,
  "message": "Clear client points successfully"
}

Last updated