Skip to navigation

Update a connection

View as Markdown

Updates name, slug, config, operationPolicy or enabled. Flipping operationPolicy to all provisions the approval-gated conn-<slug> action; flipping it back removes it. Renaming the slug re-provisions the action under the new slug. Authorization: space:contribute on the connection’s own space (404 when it lives elsewhere). Returns { data: Connection }.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
connectionIdstringRequired

Request

This endpoint expects an object.
namestringOptional1-200 characters
slugstringOptionalformat: "^[a-z0-9]+(-[a-z0-9]+)*$"1-64 characters
configmap from strings to anyOptional
operationPolicyenumOptional
Allowed values:
enabledbooleanOptional

Response

The updated connection.
dataobject