Projects

Reinstall the GitLab webhook for a project

Removes the existing webhook (if any) and installs a fresh one. Use this when a webhook has been manually deleted on the GitLab side and automatic deployments have stopped working.

post/projects/{project_id}/gitlab/reinstall-webhook

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/projects/{project_id}/gitlab/reinstall-webhook
  • Auth: HTTP bearer

Path parameters

project_idinteger required

Project ID

Response

Webhook reinstalled

hook_idinteger required

The new GitLab hook ID that was installed.

messagestring required

Human-readable status message.

Changes

No recorded changes to this operation across all 53 revisions of this API.