Resize object storage
Changes the size and package of an object storage resource.
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
custom_sizeintegerOptional
object_storage_idstringOptional
package_object_storage_idstringOptional
price_per_hourintegerOptional
price_per_monthintegerOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Success400
Bad Request
application/json
post/core/user/object-storages/resize
POST /core/user/object-storages/resize HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 118
{
"custom_size": 1,
"object_storage_id": "text",
"package_object_storage_id": "text",
"price_per_hour": 1,
"price_per_month": 1
}{
"code": 200,
"data": null,
"message": "Success"
}Last updated