Saltar al contenido principal
PATCH
Edit a file source

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Parámetros de ruta

fileSourceId
string
requerido

Unique file source identifier.

Cuerpo

application/json

JSON request payload.

ftp
object

Whole replacement of the FTP settings.

name
string

New display name; unique per client, trimmed, 1 to 255 characters.

Ejemplo:

"daily-deliveries"

passphrase
string

Write-only passphrase of an sftp private key; sent only with secret. Never returned.

Ejemplo:

"-"

s3
object

Whole replacement of the object storage settings.

secret
string

Write-only credential that replaces the stored one. Required when the destination changes and the result holds a key; refused when the result holds no key. Never returned.

Ejemplo:

"-"

sftp
object

Whole replacement of the SFTP settings.

Respuesta

OK

createdAt
string<date-time>
requerido

When the file source was created, in UTC

Ejemplo:

"2026-01-01T00:00:00Z"

id
string
requerido

File source identifier

Ejemplo:

"00000000-0000-0000-0000-000000000000"

kind
string
requerido

Transport: s3, sftp or ftp

Ejemplo:

"sftp"

name
string
requerido

Unique name of the file source within the tenant

Ejemplo:

"daily-deliveries"

updatedAt
string<date-time>
requerido

When the file source was last edited, in UTC

Ejemplo:

"2026-01-01T00:00:00Z"

ftp
object

FTP settings, set only when kind is ftp

lastConnection
object

Outcome of the most recent connection test

s3
object

S3 settings, set only when kind is s3

sftp
object

SFTP settings, set only when kind is sftp