v18

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014211,6201.8 MB
gitpod.v1.WorkflowService

RotateWorkflowWebhookSecret

Rotates the webhook secret for a workflow.

Use this method to:

  • Generate a new webhook secret
  • Invalidate the old webhook secret

Examples

  • Rotate webhook secret:

    Generates a new webhook secret for the workflow.

    workflowId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
    
post/gitpod.v1.WorkflowService/RotateWorkflowWebhookSecret

Request body

workflowIdstring uuid

Response

Success

secretstring

The new webhook secret (decrypted)