Update Workspace Integration
PUT
/api/settings/workspace-integrations/{integration_id}
const url = 'http://localhost:8000/api/settings/workspace-integrations/example';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"values":{"additionalProperty":"example"}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url http://localhost:8000/api/settings/workspace-integrations/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "values": { "additionalProperty": "example" } }'Save ENCRYPTED per-workspace credentials for one integration.
Write-only: blank values are ignored (a saved secret is never clobbered) and no plaintext is ever returned. Values are encrypted at rest (Fernet).
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”integration_id
required
Integration Id
string
Query Parameters
Section titled “Query Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
IntegrationUpdate
object
values
required
Values
object
key
additional properties
string
Examplegenerated
{ "values": { "additionalProperty": "example" }}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}