Create a new storage unit
Creates a new object storage unit for the authenticated account and returns it. The returned storageUnitId identifies the unit in all other object storage requests. To preview pricing without creating anything, use POST /object-storage/units/cost-estimate.
Authentication
X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret
Request
This endpoint expects an object.
name
Storage unit name. Letters, numbers, hyphens, and underscores, up to 100 characters; must start and end with a letter or number. It cannot be changed later.
Response
The created storage unit
storageUnitId
Unique identifier for the storage unit.
createdAt
When the storage unit was created.
maxBuckets
Maximum number of buckets the storage unit may hold. Null means no limit (unlimited).
sizeKb
Current usage of the storage unit, in kilobytes.
limitKb
Total storage allowed on the storage unit, in kilobytes. Null means no limit (unlimited).
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error