DELETE
/
employees
/
{id}
curl --request DELETE \
  --url https://api.pocketflows.com/employees/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": "<string>",
  "email_address": "<string>",
  "phone_number": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the employee

Response

200 - application/json
The deleted `Employee` object

The response is of type object.