error_tracking

Update Error Tracking settings for a project

Updates Error Tracking settings for a specified project. You must have the Maintainer or Owner role for the project.

patch/api/v4/projects/{id}/error_tracking/settings

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project owned by the authenticated user

Request body

activeboolean required

Pass true to enable the already configured Error Tracking settings or false to disable it.

integratedboolean

Pass true to enable the integrated Error Tracking backend. Available in GitLab 14.2 and later.

Response

Update Error Tracking settings for a project

activeboolean required
project_namestring required
sentry_external_urlstring required
api_urlstring required
integratedboolean required

Example response

{
  "project_name": "sample sentry project",
  "sentry_external_url": "https://sentry.io/myawesomeproject/project",
  "api_url": "https://sentry.io/api/0/projects/myawesomeproject/project"
}

Changes

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