Skip to main content

Logout

Ends the session and invalidates the access token.

Endpoint

POST https://mysite.files.com/v1.2/logoutUser

Replace mysite.files.com with your site address.

Request Body Schema

NameData TypeNotes
access_tokenstringRequired. The session key that identifies which user is authenticated. Either an access token returned by the authenticateUser function, or a Files.com user API Key.