projects_job_token_scope

Update the CI/CD job token access settings for a project

Updates the Authorized groups and projects setting (job token scope) of a specified project.

patch/api/v4/projects/{id}/job_token_scope

Request

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

Path parameters

idstring required

The ID or URL-encoded path of the project

Request body

enabledboolean required

Indicates CI/CD job tokens generated in other projects have restricted access to this project.

Response

Update the CI/CD job token access settings for a project

Changes

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