# Enabling Permissions in Access Tokens in Custom APIs (Resource Servers)

**URL:** <https://community.auth0.com/t/enabling-permissions-in-access-tokens-in-custom-apis-resource-servers/183873>\
**Category:** Get Help\
**Tags:** resource-servers, management-api\
**Created:** [March 13, 2025, 8:26pm UTC](https://community.auth0.com/t/enabling-permissions-in-access-tokens-in-custom-apis-resource-servers/183873 "2025-03-13T20:26:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle.kotowick](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kyle.kotowick/32/73626_2.png) [@kyle.kotowick](https://community.auth0.com/u/kyle.kotowick)\
**Post date:** [March 13, 2025, 8:26pm UTC](https://community.auth0.com/t/enabling-permissions-in-access-tokens-in-custom-apis-resource-servers/183873/1 "2025-03-13T20:26:48Z")

</div>

In the “Applications” → “APIs” section, the APIs have a setting for “Add Permissions in the Access Token”.

I’m using Terraform and this setting does not appear to be available in the `auth0_resource_server` resource (which corresponds to an Application API). Is there any way to enable this with the management API and Terraform?

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [March 13, 2025, 9:02pm UTC](https://community.auth0.com/t/enabling-permissions-in-access-tokens-in-custom-apis-resource-servers/183873/3 "2025-03-13T21:02:19Z")

</div>

Hi @kyle.kotowick,

Welcome to the Auth0 Community !

In order to manage scopes (permissions) associated with a resource server (API) you can use the `auth0_resource_server_scopes` within the Terraform Provider, and you can locate the resource under this [documentation](https://registry.terraform.io/providers/auth0/auth0/latest/docs/resources/resource_server_scopes#nestedblock--scopes).

You can add scopes, as mentioned in the example usage, or even import them from your tenant directly.

Thanks for posting your question and i hope this helps.  
Best regards,  
Remus

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 27, 2025, 9:02pm UTC](https://community.auth0.com/t/enabling-permissions-in-access-tokens-in-custom-apis-resource-servers/183873/4 "2025-03-27T21:02:37Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
