diff --git a/docs-develop/references/rest-apis/rest-session-api/index.html b/docs-develop/references/rest-apis/rest-session-api/index.html index 3fbbfd291e5..e34ab7db422 100644 --- a/docs-develop/references/rest-apis/rest-session-api/index.html +++ b/docs-develop/references/rest-apis/rest-session-api/index.html @@ -3247,12 +3247,11 @@

Session V1 Rest APIs

The supported workflows are the following:

Login and resource access workflow

    -
  1. -

    Try calling the GET/xsrfToken to get an XSRF token, if the request succeeds a vaild session is already available, it is possible to proceed to step 4.

    -
  2. -
  3. -

    Call the POST/login/password or POST/login/certificate providing the credentials to create a new session.

    -
  4. +
  5. Try calling the GET/xsrfToken to get an XSRF token, if the request succeeds a vaild session is already available, it is possible to proceed to step 4.
  6. +
+

It is not necessary to call GET/xsrfToken again until the current session expires, the obtained token is valid as long as the current session is valid.

+
    +
  1. Call the POST/login/password or POST/login/certificate providing the credentials to create a new session.

The device will return a session cookie with the response, make sure to provide it in successive requests. If the request is performed by a browser, this should be done automatically.

If password authentication has been used and the response object reports that a password change is needed, perform the Update password workflow

@@ -3367,7 +3366,7 @@

POST/login/certificate

GET/xsrfToken