Skip to main content
POST
/
api
/
spaces
/
{spaceId}
/
storages
/
test-connection
cURL
curl --request POST \
  --url https://api.kazzle.app/api/spaces/{spaceId}/storages/test-connection \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "bucket": "<string>",
  "accessKeyId": "<string>",
  "secretAccessKey": "<string>",
  "endpoint": "<string>",
  "region": "<string>"
}
'

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required

Body

application/json
bucket
string
required
accessKeyId
string
required
secretAccessKey
string
required
endpoint
string
region
string

Response

200 - application/json

Successful response