We are noticing 401 Unauthorized error while using custom scope PAT in preview REST API calls(Trying to fetch data related to Deployments/Environments created by Yaml pipelines)
I tried calling above Restapi calls with below custom scope PATs. But they all resulted in ‘401 unauthorized error’.
Read Read, Write & Execute Read, Write, Execute& manage Read Read & execute Read, Write, execute & manage(Release)+Read & execute(build)
Could you please tell me what permissions do I need to grant for PAT to access the environment deployments API.