Skip to content

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.

id
required
One of:
string

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

Media type application/json
object
active
required

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

boolean
nullable
integrated

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

boolean
nullable
Example generated
{
"active": true,
"integrated": true
}

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