Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update PVC

This API is used to update the persistent volume claim

post
Authorizations
AuthorizationstringRequired

Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."

Path parameters
project_idstringRequired

Project ID

namespacestringRequired

Namespace

namestringRequired

Persistent Volume Claim Name

Body
apiVersionstringOptionalExample: apps/v1
kindstringOptional
specobjectOptional
Responses
200

Successful Response

application/json
codeintegerOptionalExample: 200
dataanyOptional
messagestringOptionalExample: Success
post/core/kubernetes/pvc/{project_id}/{namespace}/{name}/update
POST /core/kubernetes/pvc/{project_id}/{namespace}/{name}/update HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 107

{
  "apiVersion": "apps/v1",
  "kind": "text",
  "metadata": {
    "name": "myresource-123",
    "namespace": "default"
  },
  "spec": {}
}
200

Successful Response

{
  "code": 200,
  "data": null,
  "message": "Success"
}

Last updated