{
  "opencollection": "1.0.0",
  "info": {
    "name": "Auth0 Authentication actions Logout API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Logout",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Auth0 Logout a User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{auth0_domain}/v2/logout",
            "params": [
              {
                "name": "returnTo",
                "value": "",
                "type": "query",
                "description": "URL to redirect the user after the logout."
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "The client_id of your application."
              },
              {
                "name": "federated",
                "value": "",
                "type": "query",
                "description": "Add this query string parameter to the logout URL, to log the user out of their identity provider, as well."
              }
            ]
          },
          "docs": "Use this endpoint to logout a user. If you want to navigate the user to a specific URL after the logout, set that URL at the returnTo parameter. The URL should be included in any the appropriate Allowed Logout URLs list."
        },
        {
          "info": {
            "name": "Auth0 Logout a User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{auth0_domain}/oidc/logout",
            "params": [
              {
                "name": "id_token_hint",
                "value": "",
                "type": "query",
                "description": "Previously issued ID Token for the user. This is used to indicate which user to log out."
              },
              {
                "name": "logout_hint",
                "value": "",
                "type": "query",
                "description": "Optional sid (session ID) value to indicate which user to log out. Should be provided when id_token_hint is not available."
              },
              {
                "name": "post_logout_redirect_uri",
                "value": "",
                "type": "query",
                "description": "URL to redirect the user after the logout."
              },
              {
                "name": "client_id",
                "value": "",
                "type": "query",
                "description": "The client_id of your application."
              },
              {
                "name": "federated",
                "value": "",
                "type": "query",
                "description": "Add this query string parameter to log the user out of their identity provider."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "An opaque value the applications adds to the initial request that the authorization server includes when redirecting the back to the post_logout_redirect_uri."
              },
              {
                "name": "ui_locales",
                "value": "",
                "type": "query",
                "description": "Space-delimited list of locales used to constrain the language list for the request. The first locale on the list must match the enabled locale in your tenant."
              }
            ]
          },
          "docs": "Use this endpoint to logout a user. If you want to navigate the user to a specific URL after the logout, set that URL at the post_logout_redirect_uri parameter. The URL should be included in the appropriate Allowed Logout URLs list."
        },
        {
          "info": {
            "name": "Auth0 Logout a User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{auth0_domain}/samlp/:CLIENT_ID/logout",
            "params": [
              {
                "name": "CLIENT_ID",
                "value": "",
                "type": "path",
                "description": "Client ID of your application configured with the SAML2 Web App addon."
              }
            ]
          },
          "docs": "Use this endpoint to log out a user from an Auth0 tenant configured as a SAML identity provider (IdP). Logout behavior is determined by the configuration of the SAML2 Web App addon for the application on the Auth0 tenant acting as the SAML IdP."
        }
      ]
    }
  ],
  "bundled": true
}