DeluxHostAPI Reference
Sessions & login history

Revoke a browser session

POST
/v1/account/sessions/{id}/revoke

Requires confirm: true. Inspect the resource before retrying an uncertain outcome.

Authorization

apiToken account:sessions
headerAuthorizationBearer <token>

A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.

Scope: account:sessions

Path Parameters

id*string

Request Body

application/json
  1. body
confirm*boolean

Response Body

Operation completed or accepted; asynchronous actions may still be running.

application/json
  1. response
ok*boolean
curl -X POST 'https://api.deluxhost.net/v1/account/sessions/string/revoke' \  -H "Authorization: Bearer $DELUXHOST_TOKEN" \  -H 'Content-Type: application/json' \  -d '{  "confirm": true}'
Example Response
{  "ok": true}