Hi,
I use the Resource Owner Password Credentials Flow to call the Acumatica API.as the 1st step I generate a token and using this token I call the API.
My scope is api.

I need to know after calling the api should I log out or close the session.
Hi,
I use the Resource Owner Password Credentials Flow to call the Acumatica API.as the 1st step I generate a token and using this token I call the API.
My scope is api.
I need to know after calling the api should I log out or close the session.
Best answer by RohitRattan88
Logout API call should be enough but make sure to pass session cookie as described in documentation:
To prevent issues with licenses that limit the number of concurrent user sessions, the client application should directly call the logout method of the Acumatica ERP web services API when the application finishes its work with Acumatica ERP. The client application does this by using the POST
method, the ASP.NET_SessionId
cookie with the value that corresponds to the session, and the following URL.
https://<Acumatica ERP instance URL>/entity/auth/logout
In this address, <Acumatica ERP instance URL>
is the URL of the Acumatica ERP instance to which the client application is going to connect.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.