DELETE
/
v1
/
sessions
/
all
JavaScript
import Anchorbrowser from 'anchorbrowser';

const client = new Anchorbrowser({
  apiKey: 'My API Key',
});

const successResponse = await client.sessions.all.delete();

console.log(successResponse.data);
{
  "data": {
    "status": "success"
  }
}

Authorizations

anchor-api-key
string
header
required

API key passed in the header

Response

200 - application/json

Successfully terminated all active browser sessions.

The response is of type object.