POST /admin/tenants/{id}/webhooks/{hook_id}/rotate-secret
生成新的 Webhook 签名密钥,旧密钥立即失效
租户服务 `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
id |
path |
string |
Yes |
|
|
|
租户ID |
hook_id |
path |
string |
Yes |
|
|
|
Webhook ID |
Referenced Schemas
dto.RotateSecretDetailResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.RotateSecretResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.RotateSecretResponse
| Field | Type | Required | Example | Constraints | Description |
secret |
string |
No |
whsec_new_generated_secret |
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|