Skip to content

New REST endpoint delete project from job token scope allowlist

What does this MR do and why?

  • This MR works towards the another task of the issue (feature) #351740 (closed)

Screenshots or screen recordings

Based on the the #351740 (closed) , this merge request introduces a new REST api endpoint for patching the settings for the job token scope of a project.

How to set up and validate locally

curl --request DELETE \
  --url http://127.0.0.1:3000/api/v4/projects/7/job_token_scope/allowlist/10?private_token=<personal_access_token_of_project_maintainer> \
  --header 'Content-Type: application/json'

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Dmytro Biryukov

Merge request reports