Table of contents

Official Content

This article describes the GeneXus Access Manager endpoint used to sign out from mobile applications.

It is a REST service that invalidates (kills) the access_token obtained at sign-in. 

Endpoint

Method: POST
The endpoint is: https://<domain>/<virtual_directory>/oauth/logout

Headers

  • Content-Type: Type of content that will be returned. Use application/x-www-form-urlencoded.
  • Authorization: <access_token>; it is required to send the access_token obtained during sign-in.

Sample

&httpclient = new()
&httpclient.AddHeader("Content-Type", "application/x-www-form-urlencoded")
&httpclient.AddHeader("Authorization",<access_token>)

Response

A successful logout returns the following response:

{
  "code": "200"
}

If the endpoint execution is successful, it will return "code": "200", indicating that the logout operation was completed successfully.

Last update: June 2025 | © GeneXus. All rights reserved. GeneXus Powered by Globant