For Workers & Pages, what is the name of the domain?
cantputmydomainhere.com
What is the error number?
10001
What is the error message?
Unable to authenticate request
What is the issue or error you’re encountering
i want to add custom hostname and worker route in cloudflar using api which permissions should i add to my api key i have added these permissions ( attached in image ) but it is giving me “Unable to authenticate request” error I have added - All zones - Workers Routes:Edit, SSL and Certificates:Edit
What steps have you taken to resolve the issue?
Tried with global token and it worked so my code is correct. I’ve tried adding multiple permissions but not able to find which onces will work. Can anyone tell me which permissions are required for adding customer hostname and worker route. In the documentation it is given
SSL and Certificates Write - for hostname [Cloudflare API | Custom Hostnames › create]
Workers Routes Write - for worker route [ Cloudflare API | Workers › Routes › create]
TIA