Delete Employee Table Row
Changed onDeletes a specific row from an employee's tabular data. The table name identifies which tabular dataset to target (e.g., jobInfo, compensation, customTabularField). Returns success: true if the row was deleted, or success: false with an error message if the row was not found or could not be deleted. Deletion will fail with a 409 if the row has pending approval changes or is refused by a table's delete validation rule, or a 412 if the row is tied to an active pay schedule. Per-table field schemas are available as named OpenAPI components (e.g., JobInfoTableRowRequest, CompensationTableRowRequest). See the components/schemas section of this spec for the full list.
OAuth Scopes: employee.write, employee:assets.write, employee:compensation.write, employee:custom_fields.write, employee:custom_fields_encrypted.write, employee:education.write, employee:emergency_contacts.write, employee:job.write, sensitive_employee:creditcards.write
Request
- Base URLhttps://companySubDomain.bamboohr.com
- Auth
- HTTP basic
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:job.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:compensation.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:custom_fields.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:custom_fields_encrypted.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:assets.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:emergency_contacts.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopessensitive_employee:creditcards.write
- or OAuth 2Authorization code/authorize.phpToken URL/token.phpScopesemployee:education.write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The internal employee ID.
The API name of an employee table. Standard table names: jobInfo, compensation, employmentStatus, contacts, emergencyContacts, dependents, earnings, bonus, commission, benefit_class, employeeVisas, employeeEducation, employeePassports, employeeDriverLicenses, employeeCertifications, employeeStockOptions, employeeAssets, employeeCreditCards, employeeCovidTests, employeeCovidVaccinations, employeeCovidVaccinationExemptions, employeeCovidExposures, employeeEquityGrants, employeeProjectPayRates. Custom company-defined tables also accepted — they use a numeric suffix (e.g., custom1, custom42). Use the list-tabular-fields tool (GET /api/v1/meta/tables) to discover custom table names for a specific company.
The API name of the table containing the row to delete. See the TableName schema for valid standard values; custom tables use a custom prefix (e.g., customTabularField). Use the list-tabular-fields tool (GET /api/v1/meta/tables) to discover the complete list.
The ID of the specific row to delete.
Response
Returns success: true if the row was deleted, or success: false with an error message if the row could not be deleted.
Changes
- info
the security scope
employee.writewas added to the endpoint's security schemeoauth - info
the security scope
employee:education.writewas removed from the endpoint's security schemeoauth - info
added the non-success response with the status
- info