Update Error Tracking settings for a project
PATCH
/api/v4/projects/{id}/error_tracking/settings
Updates Error Tracking settings for a specified project. You must have the Maintainer or Owner role for the project.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
active
required
Pass true to enable the already configured Error Tracking settings or false to disable it.
boolean
integrated
Pass true to enable the integrated Error Tracking backend. Available in GitLab 14.2 and later.
boolean
Example generated
{ "active": true, "integrated": true}Responses
Section titled “ Responses ”OK
Media type application/json
object
active
boolean
project_name
string
sentry_external_url
string
api_url
string
integrated
boolean
Example
{ "project_name": "sample sentry project", "sentry_external_url": "https://sentry.io/myawesomeproject/project", "api_url": "https://sentry.io/api/0/projects/myawesomeproject/project"}Bad request
Unauthorized
Not found