Skip to main content
POST
/
v1
/
webhooks
/
endpoints
/
{endpointId}
/
secret
/
rotate
cURL
curl --request POST \
  --url https://api.nxos.io/v1/webhooks/endpoints/{endpointId}/secret/rotate \
  --header 'Authorization: <authorization>'
{
  "id": "<string>",
  "secretRotated": true
}

Headers

Authorization
string
required

Bearer token. Format: Bearer <api_key>

Path Parameters

endpointId
string
required

Response

The request has succeeded.

Response confirming an endpoint's signing secret was rotated.

object
enum<string>
required

Object type. Always webhook_endpoint.

Available options:
webhook_endpoint
id
string
required

Identifier of the endpoint whose secret was rotated.

secretRotated
boolean
required

Always true.