給使用者刪除指定標籤

Delete client tag mapping

post

Remove a client tag mapping

Authorizations
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
tagIdstringRequired

The client tag ID

Example: clientTag123
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
Client tag mapping deleted successfully
application/json
post
POST /api/openapi/clientTagMapping/delete HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 136

{
  "secret": "your_secret_key_here",
  "tagId": "clientTag123",
  "clientId": "client456",
  "platform": "line",
  "platformClientId": "U1234567890abcdef"
}
{
  "success": true,
  "message": "Delete client tag mapping successfully"
}

Last updated