Skip to content

Commit 24bceb1

Browse files
Revert "chore: update iam token endpoint (twilio#862)"
This reverts commit da6aa6b.
1 parent da6aa6b commit 24bceb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

twilio/http/client_token_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(
2929
self.client = Client()
3030

3131
def fetch_access_token(self):
32-
token_instance = self.client.iam.v1.token.create(
32+
token_instance = self.client.preview_iam.v1.token.create(
3333
grant_type=self.grant_type,
3434
client_id=self.client_id,
3535
client_secret=self.client_secret,

twilio/http/orgs_token_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def __init__(
2929
self.client = Client()
3030

3131
def fetch_access_token(self):
32-
token_instance = self.client.iam.v1.token.create(
32+
token_instance = self.client.preview_iam.v1.token.create(
3333
grant_type=self.grant_type,
3434
client_id=self.client_id,
3535
client_secret=self.client_secret,

0 commit comments

Comments
 (0)