Update
PUT /integrations/:integration
Note: This endpoint is still under active development, and may change without warning.
Update the config or “active” flag of an existing Integration.
Examples
Update an Integration
Request
PUT /integrations/0yX2VrJ
Body
{
"config": {
"baseUrl": "https://foo.bar.com/zest",
"clientSecret": "secret"
},
"active": true
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
-H Authorization:"Bearer {token}" \
-X PUT /integrations/0yX2VrJ
-d '{json: "body"}'
Response
Status
200
Response Type
Example
{
"@type": "Integration",
"@context": "/contexts/Integration.jsonld",
"id": "/integrations/0yX2VrJ",
"active": true,
"provider": "textus",
"config": {
"baseUrl": "https://foo.bar.com/zest",
"clientSecret": "[FILTERED]"
},
"settings": {}
}