---
title: "User logout"
method: DELETE
path: "/gdc/account/login/{userId}"
tags: ["logout"]
---

# User logout

`DELETE /gdc/account/login/{userId}`

## Request

- Base URL: `https://secure.gooddata.com`
- URL: `https://secure.gooddata.com/gdc/account/login/{userId}`
- Auth: none declared

Log out from the existing account.

## Response `204`

Logout successful

## Other responses

- `400`: Bad request - need SST in header or cookie
- `401`: The user is not provided
- `403`: The user is not authorized to perform the logout
- `default`: Common error

---

[API](https://skmtc.dev/gooddata/apis/gooddata-api-documentation.md) - [All operations](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/gooddata/apis/gooddata-api-documentation/revisions/e5dc0ee6ab00?raw)
