Skip to main content
DELETE
/
v1
/
employees
/
unlink-user
JavaScript
import BlueHive from '@bluehive/sdk';

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

const response = await client.employees.unlinkUser({ employeeId: 'employeeId', userId: 'userId' });

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

Authorizations

Authorization
string
header
required

API key for accessing BlueHive API endpoints. Format: "ApiKey <your-api-key>" or "Bearer <your-api-key>"

Query Parameters

employeeId
string
required

ID of the employee to unlink

userId
string
required

ID of the user to unlink from

Response

Employee unlinked successfully

success
boolean
required
message
string
required
I