Report this

What is the reason for this report?

Modifier Cannot Access Namespace Function Using doctl CLI with Full Access Token

Posted on June 13, 2025
Han

By Han

My role is currently “modifier”. When using doctl serverless connect, I receive the error:

Error: GET https://api.digitalocean.com/v2/functions/namespaces/{namespace-id}": You are not authorized to perform this operation

Even with a full access token (create, read and update), it seems that modifiers cannot access namespace functions. Is this a known limitation, or does it require specific admin or delete access to work with namespace functions via doctl?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hey Han 👋

It’s a bit confusing, but yes, it seems that being a “modifier” prevents you from accessing function namespaces via doctl, even with a full-scope token. The community has seen this behavior too, doctl serverless connect will throw a 403 if your team role lacks the proper privileges:

https://www.digitalocean.com/community/questions/doctl-serverless-connect-required-api-token-scopes

To use namespace commands successfully, you’ll likely need owner or admin role in your team. Modifier just doesn’t cut it for those function-level operations.

If you don’t have that level on your token, try the command with an owner/admin account. If that doesn’t work or it’s unclear, it might be worth raising to the DigitalOcean support: https://do.co/support

- Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.