POST
/
organisations
/
{organisationId}
/
schemas
/
{id}
/
components
curl --request POST \
  --url https://api.switchboard.svc.versori.io/v1alpha1/organisations/{organisationId}/schemas/{id}/components \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "components": [
    {
      "definition": {},
      "ref": "<string>",
      "schemaId": "<string>"
    }
  ],
  "replaceExisting": true
}'
{
  "components": [
    {
      "definition": {},
      "ref": "<string>",
      "schemaId": "<string>"
    }
  ]
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

organisationId
string
required
id
string
required

Body

application/json
components
object[]
required
replaceExisting
boolean

Response

200 - application/json
components
object[]
required