Edit a file source
Edits the name or the block of the source’s kind; the kind never changes. A call that changes the destination (host, port, user, auth, knownHosts, tls, caCertPem, endpoint, bucket or accessKeyId) of an sftp or ftp source, or of an s3 source with accessKeyId, must send secret in the same call. An edit is refused with 409 and writes nothing when the file source changed while this edit ran; reload the source and send the edit again. secret and passphrase are write-only: they are sealed on arrival and never returned. externalId belongs to Reporter, which generates it. An s3 bucket on AWS without roleArn is incomplete until an edit saves roleArn; outside AWS, accessKeyId and secret are required. A source that moves to an AWS bucket loses its stored secret and takes no secret. Saving or changing roleArn proves the externalId first.
Corpo
JSON request payload.
Resposta
OK

