給使用者刪除指定標籤

Delete auto tag mapping

post

Remove an auto tag mapping and update client count

Authorizations
AuthorizationstringRequired

Bearer token for API authentication

Query parameters
botIdstringRequired

The bot ID for the API request

Body

Client identification rules:

  • Either provide 'clientId' OR both 'platform' and 'platformClientId'
secretstringRequired

Secret key for API authentication

Example: your_secret_key_here
autoTagIdstringRequired

The auto tag ID

Example: VolejRejN
clientIdstringOptional

The client ID (required if platform + platformClientId not provided)

Example: client456
platformstring · enumOptional

Platform type (required if platformClientId provided)

Example: linePossible values:
platformClientIdstringOptional

Platform-specific client ID (required if clientId not provided)

Example: U1234567890abcdef
Responses
200

Auto tag mapping deleted successfully

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

{
  "secret": "your_secret_key_here",
  "autoTagId": "VolejRejN",
  "clientId": "client456",
  "platform": "line",
  "platformClientId": "U1234567890abcdef"
}
{
  "success": true,
  "message": "Delete auto tag mapping successfully"
}

Last updated