Authorizations
Body
application/json
Response
- Option 1
- Option 2
Available options:
| Title | Const |
|---|---|
http |
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
curl --request PUT \
--url https://platform.versori.com/api/connect/v1/o/{organisation_id}/connectors/{connector_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"tags": {},
"protocol": "http",
"authSchemeConfigIds": [
"<string>"
],
"public": true,
"documentationURL": "<string>",
"imageURL": "<string>",
"baseUrl": "<string>",
"connectionVariables": [
{
"name": "<string>",
"value": "<string>"
}
]
}'{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"public": true,
"documentationURL": "<string>",
"imageURL": "<string>",
"tags": {},
"protocol": "http",
"authSchemeConfigs": [
{
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<any>",
"severity": "<any>",
"detail": "<any>"
}
],
"schemeType": "<string>"
}
],
"connectionVariables": [
{
"name": "<string>",
"value": "<string>"
}
],
"connections": [
{
"id": "<string>",
"name": "<string>",
"credentials": {
"action": [
"<any>"
],
"trigger": [
"<any>"
]
},
"variables": [
{
"name": "<any>",
"value": "<any>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"versions": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"isLatest": true,
"isDefault": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"messages": [
{
"text": "<any>",
"severity": "<any>",
"detail": "<any>"
}
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"baseUrl": "<string>"
}UpdateConnector updates a Connector with the specified request body. All mutable fields are updated as per the
request body, and the updatedAt field is set to the current time. Any missing fields will be unset unless this
causes a validation error, in which case the request will fail with a 400 Bad Request response.
curl --request PUT \
--url https://platform.versori.com/api/connect/v1/o/{organisation_id}/connectors/{connector_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"tags": {},
"protocol": "http",
"authSchemeConfigIds": [
"<string>"
],
"public": true,
"documentationURL": "<string>",
"imageURL": "<string>",
"baseUrl": "<string>",
"connectionVariables": [
{
"name": "<string>",
"value": "<string>"
}
]
}'{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"public": true,
"documentationURL": "<string>",
"imageURL": "<string>",
"tags": {},
"protocol": "http",
"authSchemeConfigs": [
{
"id": "<string>",
"description": "<string>",
"validationMessages": [
{
"text": "<any>",
"severity": "<any>",
"detail": "<any>"
}
],
"schemeType": "<string>"
}
],
"connectionVariables": [
{
"name": "<string>",
"value": "<string>"
}
],
"connections": [
{
"id": "<string>",
"name": "<string>",
"credentials": {
"action": [
"<any>"
],
"trigger": [
"<any>"
]
},
"variables": [
{
"name": "<any>",
"value": "<any>"
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"versions": [
{
"id": "<string>",
"name": "<string>",
"description": "<string>",
"isLatest": true,
"isDefault": true,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"publishedAt": "2023-11-07T05:31:56Z",
"messages": [
{
"text": "<any>",
"severity": "<any>",
"detail": "<any>"
}
]
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"baseUrl": "<string>"
}| Title | Const |
|---|---|
http |
Show child attributes
| Title | Const |
|---|---|
http |
Show child attributes
Show child attributes
Show child attributes
Show child attributes