編輯單一自動標籤的生命週期
Update lifecycle settings for a specific auto tag
Authorizations
AuthorizationstringRequired
Bearer token for API authentication
Path parameters
autoTagIdstringRequired
The ID of the auto tag to update
Query parameters
botIdstringRequired
The bot ID for the API request
Body
secretstringRequiredExample:
Secret key for API authentication
your_secret_key_hereisActivebooleanRequiredExample:
Whether lifecycle feature should be active
truelifeCycleinteger · min: 1RequiredExample:
Lifecycle duration/threshold value (must be > 0 for feature to be active)
30Responses
200
Auto tag lifecycle updated successfully
application/json
401
JWT token is invalid or expired
application/json
403
Permission denied - insufficient access rights
application/json
404
OpenAPI configuration not found
application/json
429
Rate limit exceeded
application/json
500
Internal server error
application/json
post
/openapi/autoTag/lifeCycle/update/{autoTagId}POST /api/openapi/autoTag/lifeCycle/update/{autoTagId}?botId=text HTTP/1.1
Host: mantago.cc
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"secret": "your_secret_key_here",
"isActive": true,
"lifeCycle": 30
}{
"success": true,
"message": "Update auto tag lifecycle successfully"
}Last updated