Create object storage
Creates an object storage resource for a project.
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
agreeSAbooleanOptional
subscription agreement
agreeSoWbooleanOptional
scope of work
billing_typestringOptional
custom_sizeintegerOptional
enable_file_listingbooleanOptional
ip_addressstringOptional
namestringRequired
object_storage_region_idstringOptional
object_storage_region_namestringOptional
object_storage_service_idstringOptional
package_object_storage_idstringOptional
price_per_hournumberOptional
price_per_monthnumberOptional
project_idstringRequired
regionstringOptional
voucher_idstringOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Success400
Bad Request
application/json
post/core/user/object-storages
POST /core/user/object-storages HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 366
{
"agreeSA": true,
"agreeSoW": true,
"billing_type": "text",
"custom_size": 1,
"enable_file_listing": true,
"ip_address": "text",
"name": "text",
"object_storage_region_id": "text",
"object_storage_region_name": "text",
"object_storage_service_id": "text",
"package_object_storage_id": "text",
"price_per_hour": 1,
"price_per_month": 1,
"project_id": "text",
"region": "text",
"voucher_id": "text"
}{
"code": 200,
"data": null,
"message": "Success"
}Last updated