gpHiring

Submit termination request

Changed on

Initiates the termination process for a Global Payroll worker. A successful response confirms the request was accepted and the process has begun, but does not indicate that termination is complete.

Token scopes: global-payroll:write

post/gp/workers/{worker_id}/terminations

Request

  • Base URL
    https://api.letsdeel.com/rest
  • Auth
    HTTP bearer

Path parameters

worker_id, string uuid required

Unique identifier for a worker in UUID format.

Request body

object required
data, GpWorkersWorkerIdTerminationsPostRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

GpHiringCreateGPWorkerTerminationResponse201 required
data, GpWorkersWorkerIdTerminationsPostResponsesContentApplicationJsonSchemaData required

Changes

    • warning

      removed the optional property errors/items/path from the response with the status

    • warning

      removed the optional property request from the response with the status

    • info

      added the optional property errors/items/code to the response with the status

    1 more change in this revision