PUT
/
organisations
/
{organisationId}
/
connections
/
{connectionId}

Authorizations

Authorization
string
headerrequired

Path Parameters

organisationId
string
required
connectionId
string
required

Body

application/json

UpdateConnectionRequestBody is the request body to update an existing connection. This will replace the existing connection details.

name
string
required
data
object
required

ConnectionDataAPIKey is the data element of a connection which is using an apikey authentication type.

data.apiKey
string
required

Response

200 - application/json
id
string
required
orgId
string
required
name
string
required
app
object
required
app.id
string
required
app.orgId
string
required
app.name
string
required
app.public
boolean
required
app.server
object
required
app.schemaMetadata
object
required
app.schema
object
required
app.createdAt
string
required
app.updatedAt
string
required
app.supportedAuthConfigs
object[]

SupportedAuthConfigs is a list of authentication standards which can be used to connect a user's account to this app. At least one auth type needs to be valid for the App to be used by a user.

app.imageUrl
string
app.schemaId
string
app.deletedAt
string
credentialId
string
required
authConfig
object

AppAuthConfig describes how an organisation can authenticate with an app.

authConfig.type
string
required

Type denotes the method of authentication. Valid values are: "oidc", "oauth2", "apikey", `"httpBasicAuth"

authConfig.isValid
boolean
required

IsValid is true if and only if the data field is populated with all the required information to enable an organisation to connect to the App via this auth type. It is allowed for an App to have invalid auth configs providing there is at least one valid.

authConfig.data
object
required

AppAuthConfigData should JSON-marshal to one of the types specified in the jsonschema oneOf:

  • AppAuthConfigOIDC
  • AppAuthConfigOAuth2
  • AppAuthConfigApiKey
  • AppAuthConfigHTTPRefresh
  • AppAuthConfigHTTPBasicAuth
  • AppAuthConfigJWTBearer
  • AppAuthConfigCustomFunction
usedByBoards
object[]
usedByBoards.id
string
usedByBoards.name
string