API reference · Account
Sign out one device
DELETE/api/account/sessions/{id}Signed in session
By the id the list shows; it takes effect on that device's next request. Signing out this device clears this browser's cookie too. Same origin.
Parameters
| Field | Type | What it is |
|---|---|---|
| id (path)required | string | The session's id from the list. |
Answer 200
Signed out.
| Field | Type | What it is |
|---|---|---|
| ok | boolean | |
| signedOutHere | boolean |
Errors
- 401OpenAI shaped error.
- 403OpenAI shaped error.
- 404OpenAI shaped error.
Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.