PUT
/
organisations
/
{organisationId}
/
apps
/
{appId}
curl --request PUT \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/apps/{appId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "createdAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "imageUrl": "<string>",
  "name": "<string>",
  "orgId": "<string>",
  "public": true,
  "schema": {
    "createdAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "sourceUrl": "<string>",
    "type": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "version": "<string>"
  },
  "schemaId": "<string>",
  "schemaMetadata": {
    "type": "<string>",
    "url": "<string>",
    "version": "<string>"
  },
  "server": {
    "name": "<string>",
    "url": "<string>"
  },
  "supportedAuthConfigs": [
    {
      "data": {
        "clientId": "<string>",
        "clientSecret": "<string>",
        "discoveryUrl": "<string>",
        "scopes": {}
      },
      "isValid": true,
      "type": "<string>"
    }
  ],
  "updatedAt": "2023-11-07T05:31:56Z"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "imageUrl": "<string>",
  "name": "<string>",
  "orgId": "<string>",
  "public": true,
  "schema": {
    "createdAt": "2023-11-07T05:31:56Z",
    "deletedAt": "2023-11-07T05:31:56Z",
    "id": "<string>",
    "sourceUrl": "<string>",
    "type": "<string>",
    "updatedAt": "2023-11-07T05:31:56Z",
    "version": "<string>"
  },
  "schemaId": "<string>",
  "schemaMetadata": {
    "type": "<string>",
    "url": "<string>",
    "version": "<string>"
  },
  "server": {
    "name": "<string>",
    "url": "<string>"
  },
  "supportedAuthConfigs": [
    {
      "data": {
        "clientId": "<string>",
        "clientSecret": "<string>",
        "discoveryUrl": "<string>",
        "scopes": {}
      },
      "isValid": true,
      "type": "<string>"
    }
  ],
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

organisationId
string
required
appId
string
required

Body

application/json
createdAt
string
required
deletedAt
string
id
string
required
imageUrl
string
name
string
required
orgId
string
required
public
boolean
required
schema
object
required
schemaId
string
schemaMetadata
object
required
server
object
required
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.

updatedAt
string
required

Response

200 - application/json
createdAt
string
required
deletedAt
string
id
string
required
imageUrl
string
name
string
required
orgId
string
required
public
boolean
required
schema
object
required
schemaId
string
schemaMetadata
object
required
server
object
required
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.

updatedAt
string
required