PgBeam Docs
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

ParameterTypeRequiredDescription
pathParams.org_idstringYesUnique organization identifier.
pathParams.case_idstringYesUnique support case identifier (prefixed, e.g. sc_xxx).
body.statusSupportCaseStatusNo

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

StatusDescription
400Invalid request parameters.
401Missing or invalid authentication.
403Operation not allowed by current plan limits.
404Resource not found.

On this page