Skip to main content
POST
Rotate webhook endpoint secret
Required permission: environment.edit

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Headers

Idempotency-Key
string

A unique value, such as a UUID, that identifies this operation. When you send the same request again with the same key, Laravel Cloud returns the first successful response from the last 24 hours instead of performing the action again. See Idempotent requests.

Required string length: 1 - 255

Path Parameters

webhookEndpoint
string
required

The webhook endpoint identifier

Response

WebhookEndpointResource

data
WebhookEndpointResource · object
required
included
(JsonApiResource · object | WebhookEndpointResource · object | EnvironmentResource · object)[]