Skip to main content
PUT
/
storage
/
obj
/
{bucket}
Create or update object store
curl --request PUT \
  --url https://api.quiva.ai/storage/obj/{bucket} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "description": "<string>",
  "max_bytes": 2
}
'
{
  "message": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

bucket
string
required

Name of the bucket

Body

application/json
description
string

Updated description of the bucket

max_bytes
integer

Updated maximum size of the bucket in bytes

Required range: x >= 1

Response

Bad Request

message
string
Example:

"success"