workerInformation

Update PTO policy

Changed on

Applies a partial update to the PTO policy assigned to a Global Payroll worker. Only fields included in the request body are modified; omitted fields retain their current values.

Token scopes: people:write

patch/gp/workers/{worker_id}/pto-policy

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, GpWorkersWorkerIdPtoPolicyPatchRequestBodyContentApplicationJsonSchemaData required

Response

Successful operation.

WorkerInformationUpdateGPWorkerPTOPolicyResponse200 required
data, GpWorkersWorkerIdPtoPolicyPatchResponsesContentApplicationJsonSchemaData 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