PATCH /v1/auth/me

Tags: auth

Request body

Required.

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

Responses

200

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

400 — INVALID_REQUEST — name out of range

401 — UNAUTHENTICATED

Code samples

TypeScript

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

const result = await firecase.patch("/auth/me", { /* body */ });
console.log(result);

Python

Python
import firecase

result = firecase.patch("/auth/me", json={})
print(result)

curl

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