POST/bots/{botId}/secret
봇의 secret을 재발급한다.
주의
- 이 API를 호출하면 이전에 발행된 secret값은 더 이상 사용할 수 없다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.
bot
| Parameter | Type | Description |
|---|---|---|
| botId | integer | 봇 ID required example : 2000001 format : int64 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| secret | string | 봇 Secret required |
example
1{2 "secret": "12345a12-b12c-12d3-e123fghijkl"3}