How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Bonitasoft Data Retention API

Configure how Bonita automatically deletes obsolete business data. A retention rule applies to a specific business object type and defines when its instances become eligible for deletion based on a reference date (creation or last update) and a retention period in days. The data retention service runs on a configurable cron schedule.This Web REST API is available in **Enterprise editions only**, since version 11.0.

Bonitasoft Data Retention API is one of 76 APIs that Bonitasoft publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Data Retention. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, and API documentation.

This API exposes 5 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.0.9.

Requests are made against a single base URL, http://localhost:8080/bonita.

5 operations 4 paths 8 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0.9
Base URL
https://{subscription}.bonitacloud.com/bonita
Authentication
API Key, API Key, HTTP Bearer
License
Resource Areas
1

Authentication & Security 3

Bonitasoft Data Retention API declares 3 security schemes for authenticating requests. An API key is passed in the cookie as JSESSIONID (bonita_auth). An API key is passed in the header as X-Bonita-API-Token (bonita_token). It accepts HTTP bearer tokens (bearer_auth). By default, every request must be authenticated.

  • bonita_auth — To call the REST API, you must first log on with a user registered in the Engine database. Please refer to the [Login API](operation/login) operations section.
  • bonita_token — To call the REST API, you must first log on with a user registered in the Engine database. Please refer to the [Login API](operation/login) operations section.
  • bearer_auth — ![edition](https://img.shields.io/badge/edition-entreprise-blue) When Bonita runtime is configured for SSO with openID Connect it is possible To call the REST…

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

DataRetention 5

Configure how Bonita automatically deletes obsolete business data. A retention rule applies to a specific business object type and defines when its instances become eligible for d…

GET
/API/retention/object
List business object types with their retention rules
findObjectsWithRetentionRules → 2004014035XX
GET
/API/retention/schedule
Get the data retention schedule
getRetentionSchedule → 2004014035XX
POST
/API/retention/rule
Create a retention rule
createRetentionRule body → 2014004014034095XX
PUT
/API/retention/rule/{ruleId}
Update a retention rule by ID
updateRetentionRuleById 1 param body → 2004004014034045XX
DELETE
/API/retention/rule/{ruleId}
Delete a retention rule by ID
deleteRetentionRuleById 1 param → 2044014034045XX

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are DataRetentionConfig (6 properties), RetentionRuleCreateRequest (3 properties), BusinessObjectWithRetentionRule (3 properties), Error (3 properties). Each schema is shown below with its type and property counts.

RetentionRuleCreateRequest
object
Body of POST /API/retention/rule. Defines a new data retention rule for the business object type identified by dataClassName. All three fields are required.
3 properties 3 required
BusinessObjectWithRetentionRule
object
A business object type defined in the Business Data Model (BDM) along with its optional data retention rule and composition tree. The dataRetentionRule field i…
3 properties 3 required
DataRetentionConfig
object
A data retention rule configured for a specific business object type. It defines when and how business data of that type are automatically deleted by the data…
6 properties 6 required
CompositionNode
object
A node in the recursive composition tree of a business object type. Each node holds the qualified name of a composed business object type and the list of its o…
2 properties 2 required
RetentionSchedule
object
Schedule on which the data retention service runs. The cron expression is configured via the bonita.runtime.retention.schedule.cron platform property.
1 property 1 required
RetentionRuleUpdateRequest
object
Body of PUT /API/retention/rule/{ruleId}. Replaces the mutable fields of an existing retention rule. This is a full replacement of referenceDate and retentionD…
2 properties 2 required
ReferenceDate
string
Date field on a BDM object instance used as the starting point of the retention period calculation. - CREATION: retention is calculated from the creation date…
Error
object
3 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

bonitasoft-dataretention-api-openapi.yml Raw ↑

Other APIs Bonitasoft publishes across the network.

Bonitasoft Activity API
Bonitasoft Activity Variable API
Bonitasoft Actor API
Bonitasoft Actor Member API
Bonitasoft Application API
Bonitasoft Application Menu API
Bonitasoft Application Page API
Bonitasoft Archived Activity API
Bonitasoft Archived Activity Variable API
Bonitasoft Archived Connector Instance API
Bonitasoft Archived Failure API
Bonitasoft Archived Flow Node API
Where this information came from

This is an independent, third-party profile of Bonitasoft Data Retention API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.