Support
updateSupportCase
Update a support case
Updates the status of a support case (close or reopen).
Usage
const result = await api.support.updateSupportCase({
pathParams: { org_id: "org_abc123", case_id: "sc_xxx" },
body: {
,
},
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| pathParams.org_id | string | Yes | Unique organization identifier. |
| pathParams.case_id | string | Yes | Unique support case identifier (prefixed, e.g. sc_xxx). |
| body.status | SupportCaseStatus | No |
Response
Promise<SupportCase> — updated support case.
Example
import { PgBeamClient } from "pgbeam";
const client = new PgBeamClient({
token: "pbk_...",
baseUrl: "https://api.pgbeam.com",
});
const result = await client.api.support.updateSupportCase({
pathParams: { org_id: "org_abc123", case_id: "sc_xxx" },
body: {
,
},
});Errors
| Status | Description |
|---|---|
| 400 | Invalid request parameters. |
| 401 | Missing or invalid authentication. |
| 403 | Operation not allowed by current plan limits. |
| 404 | Resource not found. |