---
updatedAt: 2025-11-12T21:46:57.000Z
agentTools:
  projectIndex: https://hub.armosec.io/llms.txt
---

# Logout

Logout specific oauth2 session and revoke the access token.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "<b>Documentation of Armo Platform API            </b><br/><details><summary><b>How to get the API key</b></summary><dl><dt>                Get the API key from the Armo platform</dt><dd><ol><li>Navigate to the https://cloud.armosec.io                    </li><li>Click on <b>Settings</b> (bottom left corner)</li><li>Under the <b>Agent Access Keys</b> section,                     generate a new access key or use an existing one.</li><li>Copy and save the access key,                     as it will not appear again.</li></ol></dd></dl><dl><dt>Using the API Key in Requests</dt><dd>                        Pass the access key in the request headers under the key <b>x-api-key</b> as shown below:</dd>                            <br/>curl -X 'POST' \\                                 <br/>&ensp;'https://api.armosec.io/api/v1/some-endpoint' \\                                     <br/>&ensp;-H 'accept: application/json' \\                                     <br/>&ensp;-H 'x-api-key: YOUR_ACCESS_KEY' \\                                     <br/>&ensp;-d '{}'</dd></dl>",
    "title": "ARMO PLATFORM API",
    "version": "1.0.0"
  },
  "paths": {
    "/logout": {
      "delete": {
        "description": "Logout specific oauth2 session and revoke the access token.",
        "tags": [
          "Login"
        ],
        "summary": "Logout",
        "operationId": "deleteLogout",
        "responses": {
          "200": {
            "description": ""
          }
        }
      }
    }
  },
  "security": [
    {
      "customerGUID": [
        "[]"
      ]
    },
    {
      "accessKey": [
        "[]"
      ]
    },
    {
      "openID": [
        "[]"
      ]
    }
  ],
  "servers": [
    {
      "url": "https://api.armosec.io/api/v1"
    },
    {
      "url": "http://api.armosec.io/api/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "accessKey": {
        "type": "apiKey",
        "name": "x-api-key",
        "in": "header"
      },
      "customerGUID": {
        "type": "apiKey",
        "name": "customerGUID",
        "in": "query"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```