Data Export destinations
Update Data Export destination
Update a Data Export destination. Updating a destination uses a JSON patch or JSON merge patch representation of the desired changes. To learn more, read Updates.
patch/api/v2/destinations/{projectKey}/{environmentKey}/{id}
Path parameters
projectKeystring string required
The project key
The project key
environmentKeystring string required
The environment key
The environment key
idstring string required
The Data Export destination ID
The Data Export destination ID
Request body
Example request
[
{
"op": "replace",
"path": "/exampleField",
"value": "new example value"
}
]Response
Destination response
Example response
{
"_id": "610addeadbeefaa86ec9a7d4",
"_links": {
"parent": {
"href": "/api/v2/destinations",
"type": "application/json"
},
"self": {
"href": "/api/v2/destinations/my-project/my-environment/610addeadbeefaa86ec9a7d4",
"type": "application/json"
}
},
"name": "example-destination",
"kind": "google-pubsub",
"version": 1,
"config": "{\"project\":\"test-prod\",\"topic\":\"ld-pubsub-test-192301\"}",
"on": true,
"_access": {
"denied": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
],
"allowed": [
{
"reason": {
"resources": [
"proj/*:env/*;qa_*:/flag/*"
],
"actions": [
"*"
],
"effect": "allow"
}
}
]
}
}