Update the CI/CD job token access settings for a project
PATCH
/api/v4/projects/{id}/job_token_scope
Updates the Authorized groups and projects setting (job token scope) of a specified project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
enabled
required
Indicates CI/CD job tokens generated in other projects have restricted access to this project.
boolean
Examplegenerated
{ "enabled": true}Responses
Section titled “Responses”No Content
Bad Request
Unauthorized
Forbidden
Not found