# User logout

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /be/v1/logout:
    post:
      summary: User logout
      deprecated: false
      description: >-
        This endpoint allows users with a valid backend user access token (POST
        /be/v1/login) to logout revoking refresh token. Access token remains
        valid until expires.
      tags:
        - ROCKIT Edge - Backend API/Authentication
      parameters:
        - name: Authorization
          in: header
          description: >-
            Use the access token obtained from [`POST
            /be/v1/login`](https://edge.api.cloud.rockitplay.com/user-login-org-11611254e0.md)
            or [`POST
            /be/v1/refresh`](https://edge.api.cloud.rockitplay.com/refresh-11630082e0.md)
            as Bearer token.
          required: true
          example: Bearer {{_edge_org_admin_access_token}}
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: Indicates that the logout request was successful.
                  message:
                    type: string
                    description: Provides confirmation message.
                x-apidog-orders:
                  - status
                  - message
                required:
                  - status
                  - message
          headers: {}
          x-apidog-name: Success
        '400':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: >-
                      Reflects that the logout failed due to one or more invalid
                      or missing parameters in the request.
                  error:
                    type: string
                    description: Contains an error identifier. (e.g., "invalid-param")
                  message:
                    type: string
                    description: >-
                      Explains the nature of the invalid input (for example,
                      "x-rockit-beaccess-token missing").
                  details:
                    type: string
                    description: >-
                      Offers further context on the error. (e.g., header
                      parameter x-rockit-beaccess-token is required)
                x-apidog-orders:
                  - status
                  - error
                  - message
                  - details
                required:
                  - status
                  - error
                  - message
                  - details
          headers: {}
          x-apidog-name: missing-param
      security: []
      x-apidog-folder: ROCKIT Edge - Backend API/Authentication
      x-apidog-status: developing
      x-run-in-apidog: https://app.apidog.com/web/project/732774/apis/api-27659125-run
components:
  schemas: {}
  securitySchemes:
    Bearer token:
      type: bearer
      scheme: bearer
      description: >-
        Enter your Access Token. You can obtain this by calling the /be/v1/login
        endpoint. Use the Refresh token to get a new Access token when it
        expires.
servers:
  - url: https://Example-Server.com
    description: Default
security: []

```
