Time Off
Public API
Update Time Off Request Status
Changed onUpdates the status of an existing time off request. Valid statuses are approved, denied (or declined), and canceled. Owner/admins can approve out of turn by completing all workflow steps at once; other approvers complete only their current step. Deprecated: use the approvals, denials, or cancellations process resources under /api/v1/time-off/requests/{id} instead.
OAuth Scopes: time_off.write
put/api/v1/time_off/requests/{requestId}/status
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_off.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
requestIdstring required
The ID of the time off request to update.
Request body
Example request
{
"status": "approved",
"note": "Looks good, approved!"
}Response
The status has been updated successfully. The response body is an empty JSON object ({}) with Content-Type: application/json.
object required
Changes
- info
endpoint deprecated
- info