Security groups

Reorder a security group rule

POST
/cloud/project/{project_uuid}/firewall/groups/{uuid}/rules/move/

Moves the rule at from_pos to to_pos.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

uuid*string

Security group UUID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Reorder a security-group rule.

Response Body

application/json

curl -X POST "https://example.com/cloud/project/string/firewall/groups/string/rules/move/" \  -H "Content-Type: application/json" \  -d '{    "from_pos": 0,    "to_pos": 0  }'
{  "message": "string"}