Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URI: https://api.onlinephotosubmission.com/apiperson/me/logout

HTTP Method: POST

Optional URL Parameters: authToken=[authentication token value]

Required Headers: 

  • X-Auth-Token (see: Authentication)

  • Accept: application/json

  • Content-Type: application/json

Body (optional):

{EMPTY}
Code Block
languagejson
{
    "authenticationToken": "[authentication token value]"
}
  • If specified, only this authentication token is deleted. Other sessions belonging to this user which use other tokens will remain active.

  • If not specified (or if the specified value doesn’t match an existing token), ALL authentication tokens will be deleted, immediately ending ALL sessions for this user.

Response:

Code Block
204 NO CONTENT

...