Absences
Cancel an absence π
Cancels an existing absence in a company.
Required scopes: time:write
delete/companies/{companyId}/absences/{absenceId}
Request
- Base URLhttps://partner-api.payfit.com
- AuthOAuth 2Authorization codehttps://oauth.payfit.com/authorizeToken URLhttps://oauth.payfit.com/tokenScopestime:write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companyIdstring required
The id of the company
absenceIdstring required
The ID of the absence.
Request body
Example request
{
"comment": "Cancelled by partner"
}Response
The absence was cancelled.
Changes
No recorded changes to this operation across all 2 revisions of this API.