/shifts/requests/:id Permission level: 5

put/shifts/requests/{id}

Request

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

Path parameters

idinteger required

Request body application/x-www-form-urlencoded

typestring required

enum[openshifts]

modestring required

enum[approve,reject]

Response

200

statusinteger
datastring
tokenstring

Example response

{
  "status": 1,
  "token": "xxxxxxx"
}

Changes