Projects

Reinstall the GitLab webhook for a project

Changed on

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)
  • 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