code: def client_credentials(self, client_id, client_secret, audience,
                             grant_type='client_credentials'):
          
  
          return self.post(
              'https://{}/oauth/token'.format(self.domain),
              data={
                  'client_id': client_id,
                  'client_secret': client_secret,
                  'audience': audience,
                  'grant_type': grant_type,
              },
              headers={'Content-Type': 'application/json'}
          )
docs: Client credentials grant
  
          This is the OAuth 2.0 grant that server processes utilize in
          order to access an API. Use this endpoint to directly request
          an access_token by using the Application Credentials (a Client Id and
          a Client Secret).
  
          Args:
              grant_type (str): Denotes the flow you're using. For client credentials
              use client_credentials
  
              client_id (str): your application's client Id
  
              client_secret (str): your application's client Secret
  
              audience (str): The unique identifier of the target API you want to access.
  
          Returns:
              access_token