Tracira
API referenceRules

Update a rule

patchhttps://www.tracira.com/api/rules/{id}
PATCH
/api/rules/{id}

Authorization

sessionAuth
better-auth.session_token<token>

Browser session cookie used by logged-in Tracira users. Secure-prefixed variants may also be used by the browser.

In: cookie

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/rules/3c9e5a72-6d18-4f0b-b2a4-7e51d8c06f94" \  -H "Content-Type: application/json" \  -d '{    "isActive": false  }'
{  "ok": true}