Skip to main content
POST
/
api
/
v1
/
workspace
/
webhooks
/
{webhook_id}
/
rotate-secret
Rotate webhook secret (requires 2FA)
curl --request POST \
  --url https://cloud-api.phala.com/api/v1/workspace/webhooks/{webhook_id}/rotate-secret \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

webhook_id
string
required

Response

Successful Response