Skip to main content
POST
Test a bucket's connection

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Keys are unconstrained here on purpose: a validation error echoes its input, so their lengths are checked in the service, with fixed messages.

bucket
string
required
Required string length: 3 - 63
endpoint
string
required
Maximum string length: 500
accesskey
string | null

Omit to use the stored access key of an existing bucket.

secretkey
string<password> | null

Omit to use the stored secret of an existing bucket with the same access key.

Response

Successful Response

ok
boolean
required
reason
string | null

A fixed reason when not ok.