Documentation renewed! For old docs, visit doc.newapi.pro
New APINew API
User GuideInstallationAPI ReferenceAI ApplicationsHelp & SupportBusiness Cooperation
Management APIChannel management

Manage Multiple Keys

šŸ‘Øā€šŸ’¼ Admin privileges required

POST
/api/channel/multi_key/manage

Request Body

application/json

channel_id?integer
action?string
Value in"get_key_status" | "disable_key" | "enable_key" | "delete_key" | "delete_disabled_keys" | "enable_all_keys" | "disable_all_keys"
key_index?integer

Response Body

curl -X POST "https://api.example.com/api/channel/multi_key/manage" \  -H "Content-Type: application/json" \  -d '{}'
Empty

How is this guide?

Last updated on