POST/bots/{botId}/secret
Reissues a bot's secret.
Caution
- Once this API operation is called, the previous secret is no longer available.
OAuth 2.0 authentication.
For more information, see Authentication and Authorization.
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| secret | string | Bot Secret required |
example
1{2 "secret": "12345a12-b12c-12d3-e123fghijkl"3}