Skip to main content
DELETE
/
connections
/
{connection_id}
/
revoke
JavaScript
import Hyperspell from 'hyperspell';

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

const response = await client.connections.revoke('connection_id');

console.log(response.message);
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.

Path Parameters

connection_id
string
required

Response

Successful Response

success
boolean
required
message
string
required