Create PV
This API is used to create a persistent volume
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
project_idstringOptional
pv_definitionobjectOptional
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Successpost/core/kubernetes/pv
POST /core/kubernetes/pv HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 40
{
"project_id": "text",
"pv_definition": {}
}200
Successful Response
{
"code": 200,
"data": null,
"message": "Success"
}Last updated