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

Authorizations

Authorization
string
header
required

Better Auth JWT token

Path Parameters

spaceId
string
required

Body

application/json
provider
string
required
bucket
string
required
prefix
string
credentialsId
string
endpoint
string
region
string

Response

200 - application/json

Successful response