Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Rebase Ontology Scenario

POST/api/v2/ontologies/{ontology}/scenarios/{scenarioRid}/rebase
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Rebases all object types edited within the scenario onto the latest data from the scenario's base. Rebasing may also cause other scenarios with edits to the same object types on the same base to observe the updated base data. The caller must have permission to edit the scenario.

Third-party applications using this endpoint via OAuth2 must request the following operation scopes: api:ontologies-read api:ontologies-write.

Path parameters

ontology
string

The API name or RID of the Ontology. To find the API name or RID, use the List Ontologies endpoint or check the Ontology Manager.

scenarioRid
string

The unique resource identifier of the scenario.

Query parameters

preview
booleanoptional

A boolean flag that, when set to true, enables the use of beta features in preview mode.

Examples

Request

Copied!
1 2 3 curl -X POST \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/ontologies/palantir/scenarios/ri.actions..scenario.c61d9ab5-2919-4127-a0a1-ac64c0ce6367/rebase?preview=true"