# POST /api/v1/datasets/{} is deprecated

BambooHR API deprecated POST /api/v1/datasets/{id} without giving a shutdown date yet.

BambooHR API deprecated POST /api/v1/datasets/{id} on April 9, 2026, without a shutdown date. Calls made to this endpoint will eventually fail once it is removed.

## What to use instead

Use POST /api/v2/datasets/{datasetName}/data (Get Data from Dataset v2) instead.

- API: BambooHR API (*.bamboohr.com)
- Kind: Endpoint removal
- Announced: April 9, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v1/datasets/{id}`
- Source: [Announcement](https://documentation.bamboohr.com/docs/past-changes-to-the-api)
- Verified: November 6, 2026, against BambooHR API's own pages
- Page: https://www.okapi.bot/providers/bamboohr-api/breaking-changes/post-api-v1-datasets-is-deprecated/

## BambooHR API's words

> We marked POST /api/v1/datasets/{datasetName} as deprecated in our OpenAPI documentation and added guidance to use Get Data from Dataset v2: POST /api/v2/datasets/{datasetName}/data

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
