Delete Time Off Policy
Changed onSoft-deletes a time off policy. Every employee currently assigned to the policy is unassigned first and their assignment rows are archived, so a single call replaces what an admin does by hand; there is no conflict response for a policy that still has assignments. Historical balances and time off requests tied to the policy are retained; the policy simply stops appearing in policy lists and can no longer be assigned. The operation is idempotent: an id that has already been deleted, and an id no policy has ever carried, both return 204 rather than 404.
OAuth Scopes: time_off:policies.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopestime_off:policies.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The time off policy ID.
Response
The policy is deleted. Returned whether this call deleted it, an earlier call already did, or no policy with that id has ever existed. No response body.
Changes
- info
endpoint added
- info