AurionAI Docs

Toggle Notification Event

Toggle a notification event on/off for the current tenant (Issue #862).

PATCH
/api/v2/notifications/events/{event_key}

Toggle a notification event on/off for the current tenant (Issue #862).

Authorization

AuthorizationBearer <token>

In: header

Path Parameters

event_key*Event Key

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

enabled*Enabled

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/v2/notifications/events/string" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}