Applies an action using the given parameters.
Changes to the Ontology are eventually consistent and may take some time to be visible.
Note that parameter default values are not currently supported by this endpoint.
Third-party applications using this endpoint via OAuth2 must request the
following operation scopes: api:ontologies-read api:ontologies-write
.
string
The API name of the ontology. To find the API name, use the List ontologies endpoint or check the Ontology Manager.
string
The API name of the action to apply. To find the API name for your action, use the List action types endpoint or check the Ontology Manager.
string
The repository associated with a marketplace installation.
string
The package name of the generated SDK.
object
object
map<ParameterId, DataValue>
object
Success response.
object
union
1
2
3
4
5
curl -X POST \
-H "Content-type: application/json" \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/ontologies/palantir/actions/rename-employee/apply" \
-d '{"parameters":{"id":80060,"newName":"Anna Smith-Doe"}}'
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
"validation": {
"result": "VALID"
},
"parameters": {
"id": {
"evaluatedConstraints": [],
"result": "VALID",
"required": true
},
"newName": {
"evaluatedConstraints": [],
"result": "VALID",
"required": true
}
}
}