CloudPDF
DocsPricing
Start building

Get tenant

GET/v1/tenants/{tenantId}v3.0.0-next.9

Fetch one tenant record.

Self-hosted surface. On managed CloudPDF this is operated by the platform — your account is already a tenant. Start at Tenant documents.

Authentication#

API token

The deployment's static root credential (CLOUDPDF_API_AUTH_TOKENS), valid on every surface.

Parameters#

tenantIdpathstringrequired

SDK examples#

The selected SDK is remembered across the API reference. Values are examples; replace them with identifiers and input from your application.

import { CloudPDFClient } from "@cloudpdf/sdk";

const client = new CloudPDFClient({
  baseUrl: "https://yourhost.com/path/to/api",
  token: "<token>",
});

await client.tenants.get({
  tenantId: "tenantId"
});

Responses#

200OK
application/jsonTenantsGet200Response
tenantobject
idstring
namestring
autoProvisionedboolean
status"active" | "suspended"optional
createdAtnumber
404Not found
application/jsonTenantsGet404Response
errorobject
codestring
messagestring
defaultError
application/jsonAdminErrorPayload
errorobject
codestring
messagestring