Delete availability

Changed on

/employees/availability/{availability_id}

delete/employees/availability/{availability_id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

availability_idstring required

Query parameters

access_tokenstring required

xxxxxxxxxxxxx

Headers

Content-Typestring required

application/x-www-form-urlencoded

Request body application/x-www-form-urlencoded

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": {
    "id": "0001f8p7mm8bascfx0jbt1e19z",
    "employee_id": 2,
    "company_id": 11,
    "start_time": "2020-05-15T13:30:00+02:00",
    "end_time": "2020-05-15T15:00:00+02:00",
    "rrule": "FREQ=DAILY;UNTIL=20201210T050000",
    "created_at": "2020-04-06T14:20:36+02:00",
    "created_by": 2,
    "updated_at": "2020-04-06T16:11:37+02:00",
    "updated_by": 2
  },
  "token": "xxxxxxxxxx"
}

Changes