Logout

Logout of the current session, invalidating the API token.

HTTP Method

GET /api/account/logout

Query String Parameters — Required

Name

Details

v

Description

The version of the API to use

Allowed Values

1

Example

v=1

api_token

Description

The API token to invalidate

Allowed Values

Hex String

Example

api_token=7ca5dc5c7cce449fb0fff719307e8f5f

Responses

HTTP Code

Details

204

Description

Success

Contents

none

400

Description

An error occurred

Contents

Error description (see Error Format for details)

Example Requests

GET /api/account/logout?v=1&api_token=7ca5dc5c7cce449fb0fff719307e8f5f HTTP/1.1
Host: api.cielo24.com

Example Response

HTTP/1.1 204 OK