Skip to content

Commit da6aa6b

Browse files
authored
chore: update iam token endpoint (#862)
1 parent ce65814 commit da6aa6b

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.preview_iam.v1.token.create(
32+
token_instance = self.client.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.preview_iam.v1.token.create(
32+
token_instance = self.client.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)