PUT /v1/notifications/settings

Tags: notifications

Parameters

NameInTypeRequiredDescription
Idempotency-Keyheaderstring,null

Request body

Required.

JSON
{
  "$ref": "#/components/schemas/UpdateNotificationSettings"
}

Responses

200

JSON
{
  "$ref": "#/components/schemas/NotificationSettings"
}

400 — INVALID_REQUEST

Code samples

TypeScript

TypeScript
import { firecase } from "@firecase/sdk";

const result = await firecase.put("/notifications/settings", { /* body */ });
console.log(result);

Python

Python
import firecase

result = firecase.put("/notifications/settings", json={})
print(result)

curl

Bash
curl -X PUT https://api.firecase.ai/v1/notifications/settings \
  -H "Authorization: Bearer $FIRECASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'