PULSAR

Update Shift

Update shift.

Authorization

bearerAuth
Authorization<token>

In: header

Path Parameters

shiftId*number

The shift id.

Formatdouble

Request Body

application/json

The shift information that will be updated.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

Try it live
PATCH
/shifts/{shiftId}

This endpoint requires authentication — use the Login page at the top of the API Reference, or paste a token in the Authorization section below.

curl -X PATCH "https://example.com/shifts/0.1" \  -H "Content-Type: application/json" \  -d '{    "end": "2019-08-24T14:15:22Z",    "start": "2019-08-24T14:15:22Z"  }'
Empty