curl --request POST \
  --url https://{domain}-be.glean.com/api/index/v1/deleteemployee \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json; charset=UTF-8' \
  --data '{
  "version": 123,
  "employeeEmail": "<string>"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json; charset=UTF-8

Describes the request body of the /deleteemployee API call

employeeEmail
string
required

The deleted employee's email

version
integer

Version number for document for optimistic concurrency control. If absent or 0 then no version checks are done.

Response

200

OK