Create New Security
post
Authorizations
AuthorizationstringRequired
Type 'Bearer ' followed by your JWT token. Example: "Bearer eyJhbGciOi..."
Body
descriptionstringOptional
namestringOptional
port_idsstring[]Optional
InstanceIDs []string json:"instance_ids"
project_idstringOptional
Responses
200
OK
application/json
messagestringOptional
statusbooleanOptional
400
Bad Request
application/json
post/core/flexi/user/security
POST /core/flexi/user/security HTTP/1.1
Host: ai.cloudeka.id/
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 244
{
"description": "text",
"name": "text",
"port_ids": [
"text"
],
"project_id": "text",
"rules": [
{
"description": "text",
"direction": "text",
"ethertype": "text",
"port_range_max": "text",
"port_range_min": "text",
"protocol": "text",
"sources": "text",
"type": "text"
}
]
}{
"message": "text",
"status": true
}Last updated