Edge Rules

Reorder a project's edge rules

Changed on

rule_ids must list every rule of the project once, in the new order.

put/projects/{project_id}/edge-rules/order

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

rule_idsinteger[] required

Response

The rules in their new order

max_rulesinteger required

Maximum number of rules a project may hold.

project_idinteger required

Example response

{
  "rules": [
    {
      "created_at": "2026-10-31T09:30:00Z",
      "last_hit_at": "2026-10-31T09:30:00Z",
      "updated_at": "2026-10-31T09:30:00Z"
    }
  ]
}

Changes

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    • breaking

      removed the required property extensions from the response with the status

    2 more changes in this revision