Skip to content

Put Storage

PUT /storage
FieldTypeNotes
endpointstringrequiredmin length 9 max length 400
regionstringoptionalDefault "us-east-1". min length 1 max length 60
bucketstringrequiredmin length 3 max length 63
access_key_idstringrequiredmin length 1 max length 200
secret_keystring | nulloptionalmin length 1 max length 512
StatusDescriptionBody
200Successful ResponseStorageView
422Validation ErrorHTTPValidationError

The body shows the fields the schema always carries. Which combination is legal is a service rule the schema cannot express, so read the description above before copying this.

Terminal window
curl -X PUT https://your-deployment.example.com/storage \
-H "Authorization: Bearer $COBRE_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "string",
"bucket": "string",
"access_key_id": "string"
}'
FieldTypeNotes
configuredbooleanrequired—
storage_idstring (uuid) | nulloptional—
endpointstring | nulloptional—
regionstring | nulloptional—
bucketstring | nulloptional—
access_key_idstring | nulloptional—
secret_setbooleanoptionalDefault false.
usablebooleanoptionalDefault true.
checked_atstring (date-time) | nulloptional—
failure_detailstring | nulloptional—
versioningstring | nulloptional—
updated_atstring (date-time) | nulloptional—