I am not able to find scope "write_registry" in deploy_token

HI,

I am using Gitlab 12.16 , i wanted to create a deploy_token for enabling npm registry for one of the project but unfortunately i dont see write_registry option under scope. i did try curl request -
curl --request POST --header "PRIVATE-TOKEN: " --header “Content-Type: application/json” --data ‘{“name”: “My deploy token”, “expires_at”: “2021-01-01”, “username”: “”, “scopes”: [“write_registry”]}’ “https://gitlab.example.com/api/v4/projects/3/deploy_tokens/
but i am getting 404 if i execute this curl request. can someone please help here.

Regards
Suraj

I am with the same problem here. The registry it’s is enabled, but when I try to create the deploy token, there is no registry scope available for me.

Did you already solve the problem?