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 Body required
Section titled “ Request Body required ” Media type application/json
object
enabled
required
Indicates CI/CD job tokens generated in other projects have restricted access to this project.
boolean
Example generated
{ "enabled": true}Responses
Section titled “ Responses ”No Content
Bad Request
Unauthorized
Forbidden
Not found