Skip to main content
DELETE
/
children
/
{childID}
SDK (@phosra/sdk)
import { PhosraClient } from "@phosra/sdk";

const phosra = new PhosraClient({
  baseUrl: "https://phosra-api-sandbox-production.up.railway.app/api/v1",
  accessToken: process.env.PHOSRA_API_KEY,
});

await phosra.children.delete("a11ce0fa-0000-4000-8000-0000000000a1");
{
  "error": "Bad Request",
  "message": "child_name is required",
  "code": 400
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

childID
string<uuid>
required

Response

Deleted