Skip to content

Set status of an external control

PATCH
/api/v4/projects/{id}/compliance_external_controls/{control_id}/status

Sets the status of a specified external control. Use this operation to inform GitLab that a control has passed or failed a check by an external service.

id
required
One of:
string

The ID or URL-encoded path of the project

Example
1
control_id
required
integer

The ID of the control

Media type application/json
object
status
required

The status of the control

string
>= 1 characters
Allowed values: pass fail

OK

Bad Request

Not Found