Hi,
I am new to ringCentral and started to explore it.
What I can see that the apis like fax, messages are secured with oauth authentication. The oauth response contains access_token as well as the refresh_token something like this:
{ "access_token": "<access token>", "token_type": "bearer", "expires_in": 3600, "refresh_token": "<refresh_token>", "refresh_token_expires_in": 604800, "scope": "<scope>", "owner_id": "****", "endpoint_id": "****"}
Now in our api we don't actually require the refresh_token and it is just junk huge value in the response and want to eliminate it from the response.
I have seen that can be done in other authentication apis. But not sure if I really can disable them in ringCentral.
What is the best way I can remove those from the response? Also if not can modify the expiration time of refres_token in ringCentral?