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

Authorizations

Authorization
string
headerrequired

Path Parameters

organisationId
string
required
connectionId
string
required

Body

application/json
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.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.schema
object
required
app.schemaId
string
app.createdAt
string
required
app.updatedAt
string
required
app.deletedAt
string
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
credentialId
string
required
usedByBoards
object[]
usedByBoards.id
string
usedByBoards.name
string