Skip to main content
DELETE
/
userPortal#deleteTimeOffRequest
deleteTimeOffRequest
curl --request DELETE \
  --url 'https://sandbox.rollfi.xyz/userPortal#deleteTimeOffRequest' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "deleteTimeOffRequest",
  "timeOffRequestId": "A7F26D7A-FAF9-49C6-A623-C14ED3055262"
}
'
{
"timeOffRequest": {
"timeOffRequestId": "31D72E61-60CB-4F2B-A913-ED7EADBEBD98",
"message": "Time off request deleted successfully"
}
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
timeOffRequestId
string
required

Response

timeOffRequest
object
required