Employees

Delete a employee

delete/employees/{id_person}/

Request

  • Base URL
    https://www.pulses.com.br/api/engage/v1
  • URL
    https://www.pulses.com.br/api/engage/v1/employees/{id_person}/
  • Auth
    API key in header Authorization

Path parameters

id_personinteger required

ID of employee

Request body application/x-www-form-urlencoded

resignation_datestring

Termination date of contract. This parameter can be used to estimate the propensity of employees to leave employment. (YYYY-MM-DD)

resignation_reasonstring date

Employee's resignation reason, must be V for Voluntary , I for Involuntary and NA for Not Applicable, is required if you send designation_date (length: 1)

move_subordinatesboolean

If set to true, will move the suborinates of deleted person to leader above. Otherwise, shows an error message if current deleted employee has a subordinates. (Format: true)

Response

Successful response

codeinteger

Can be 1 for success, otherwise 0 for error

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.