Configuration
Update a source binding
Updates fields on a source binding by ID. The rail (kind) is immutable.
patch/v1/contexts/{contextId}/sources/{sourceId}/bindings/{bindingId}
Request
- Base URLhttps://identity.sandbox.lerian.net
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
contextIdstring uuid required
Context ID
sourceIdstring uuid required
Source ID
bindingIdstring uuid required
Binding ID
Request body
Example request
{
"connectionId": "550e8400-e29b-41d4-a716-446655440000",
"format": "br/cnab400/default",
"scheduleSpec": "@every 30m",
"transportConfig": {
"credentialRef": "cred-bank-sftp",
"glob": "*.csv",
"host": "sftp.bank.example.com",
"kind": "sftp",
"path": "/statements",
"port": 22
}
}Response
OK
Example response
{
"connectionId": "550e8400-e29b-41d4-a716-446655440000",
"contextId": "550e8400-e29b-41d4-a716-446655440000",
"createdAt": "2025-01-15T10:30:00Z",
"enabled": true,
"format": "br/cnab400/default",
"id": "550e8400-e29b-41d4-a716-446655440000",
"kind": "file",
"scheduleSpec": "@every 1h",
"sourceId": "550e8400-e29b-41d4-a716-446655440000",
"transportConfig": {
"credentialRef": "cred-bank-sftp",
"glob": "*.csv",
"host": "sftp.bank.example.com",
"kind": "sftp",
"path": "/statements",
"port": 22
},
"updatedAt": "2025-01-15T10:30:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.