Zum Inhalt springen

SetSftpConnectionSecret

PUT
/api/v1/t/{tenant}/data-tables/sftp-connections/{id}/secret
curl --request PUT \
--url https://example.com/api/v1/t/example/data-tables/sftp-connections/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/secret \
--header 'Content-Type: application/json' \
--data '{ "authentication": "Password", "secret": "example" }'
tenant
required
string

Tenant slug

id
required
string format: uuid
Media typeapplication/json
object
authentication
required
Allowed values: Password PrivateKey
secret
required
string

No Content

Bad Request

Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Forbidden

Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Not Found

Too Many Requests

Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}

Service Unavailable

Media typeapplication/problem+json
object
type
null | string
title
null | string
status
null | integer format: int32
detail
null | string
instance
null | string
Examplegenerated
{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}