Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
JavaScript
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.devices.revoke("d1e2f3a4-5b6c-4d7e-8f90-a1b2c3d4e5f6");
{ "error": "Bad Request", "message": "child_name is required", "code": 400 }
Revoke the device’s API key. The device will receive 401 on its next request.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Device revoked