編輯單一自動標籤的生命週期
Update lifecycle settings for a specific auto tag
Authorizations
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_here
isActivebooleanRequiredExample:
Whether lifecycle feature should be active
true
lifeCycleinteger · min: 1RequiredExample:
Lifecycle duration/threshold value (must be > 0 for feature to be active)
30
Responses
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
POST /api/openapi/autoTag/lifeCycle/update/{autoTagId} HTTP/1.1
Host: mantago.cc
Authorization: Bearer JWT
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