Update a Deka Guard policy with YAML data
Updates a Deka Guard policy using the supplied raw policy object.
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
namestring · min: 5 · max: 50Required
namespacestringRequired
project_idstringRequired
Responses
200
Successful Response
application/json
codeintegerOptionalExample:
200dataanyOptional
messagestringOptionalExample:
Success400
Invalid request
application/json
post/core/deka-guard/yaml/update
POST /core/deka-guard/yaml/update HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 99
{
"name": "text",
"namespace": "text",
"project_id": "text",
"raw": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"code": 200,
"data": null,
"message": "Success"
}Last updated