Skip to content

Add Tenant ACL GA Support#1140

Merged
tanya732 merged 1 commit into
masterfrom
sdk-6065-tenant-acl-ga-support
Jul 23, 2025
Merged

Add Tenant ACL GA Support#1140
tanya732 merged 1 commit into
masterfrom
sdk-6065-tenant-acl-ga-support

Conversation

@tanya732
Copy link
Copy Markdown
Contributor

@tanya732 tanya732 commented Jul 22, 2025

Changes

Added tenant ACL GA support:

Path HTTP Method Method Name
/network-acls/{id} PATCH patch

Reference

https://auth0.com/docs/api/management/v2/branding/update-phone-template

Manual Testing Code

Securely store your Client ID, Client Secret, and Management API token.
Install the SDK: npm install auth0

var auth0 = new ManagementClient({
domain: '{YOUR_TENANT_AND REGION}.auth0.com',
clientId: '{YOUR_CLIENT_ID}',
clientSecret: '{YOUR_CLIENT_SECRET}',
});

const patch = await auth0.networkAcls.patch({ id: '<ID>' }, {
  description: 'Updated ACL',
  active: true,
  rule: {
    action: {
      block: true,
    },
    match: {
      geo_country_codes: ['US', 'CA']
    },
    scope: 'tenant',
  },
});

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage

Checklist

@tanya732 tanya732 marked this pull request as ready for review July 22, 2025 20:30
@tanya732 tanya732 requested a review from a team as a code owner July 22, 2025 20:30
@tanya732 tanya732 merged commit 35cb3cb into master Jul 23, 2025
8 checks passed
@tanya732 tanya732 deleted the sdk-6065-tenant-acl-ga-support branch July 23, 2025 10:43
@tanya732 tanya732 mentioned this pull request Aug 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants