Show the organization dashboard, including counts of active, expiring, and revoked certificates, authorities, ACME bindings, and the newest certificate.

GET /organizations/{organizationId}

GET https://zanpki.com/organizations/{organizationId}

Operation ID organizations.organizationId.get
Access Browser session signed in through ZanAuth, using the access token cookie alongside its ID token and refresh token cookies. Or: An access token issued for this site by its ZanAuth issuer, or a static key.

Parameters

NameInTypeDescription
organizationId Path Required string (snowflake) Organization ID.

Responses

StatusDescriptionSchemaContent type
200 Show the organization dashboard, including counts of active, expiring, and revoked certificates, authorities, ACME bindings, and the newest certificate. OrganizationPage application/json, text/html, text/markdown
403 Your roles do not permit this action. Problem application/json, text/html, text/markdown
422 The request input was rejected. The errors object lists each validation failure. ValidationProblem application/json, text/html, text/markdown
Any other status The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation. Problem application/json, text/html, text/markdown

200 Show the organization dashboard, including counts of active, expiring, and revoked certificates, authorities, ACME bindings, and the newest certificate.

PropertyTypeDescription
pki_organizations_id string (snowflake) Required The organization's ID.
pki_organizations_name string Required Name of the organization (a customer, product, or team that owns authorities, certificates, and machines), up to 100 characters.
pki_agencies_id string (snowflake) Required The agency ID, or for an organization, the ID of its parent agency.
pki_agencies_name string Required Name of your company or agency (up to 100 characters) that owns its organizations.
plan one of: 0, 1, 2, 3, null Required Effective billing plan for this organization.
certificates_in_force integer (int64) Required Number of currently active certificates in this organization (neither revoked nor expired).
certificates_ending_soon integer (int64) Required Number of active certificates expiring within 30 days (when expiry notices first start warning).
certificates_order_failing integer (int64) Required Number of certificates from public issuers in the organization whose order or renewal is currently failing. A certificate whose renewal is failing keeps serving its current issuance until it expires.
certificates_revoked integer (int64) Required Number of certificates revoked prior to expiration that have not yet expired (and therefore still appear on CRLs).
authority_count integer (int64) Required Total number of certificate authorities in this organization.
private_authorities_used integer (int64) Required Number of private authorities in this organization.
private_authorities_most integer (int64) Required Maximum number of private authorities allowed for this organization.
private_certificates_used integer (int64) Required Number of private certificate records in this organization.
private_certificates_most integer (int64) Required Maximum number of private certificate records allowed for this organization.
issuer_accounts_used integer (int64) Required External issuer accounts used by this organization.
issuer_accounts_most integer (int64) Required Maximum external issuer accounts allowed by this organization's plan.
domains_used integer (int64) Required External domains used by this organization.
domains_most integer (int64) Required Maximum external domains allowed by this organization's plan.
external_certificates_used integer (int64) Required External certificates used by this organization.
external_certificates_most integer (int64) Required Maximum external certificates allowed by this organization's plan.
acme_binding_count integer (int64) Required Total number of ACME bindings across this organization's machines, enabling automated certificate issuance over ACME.
newest_certificate CertificateLine, or null Required Most recently issued or imported certificate in this organization, or null if there are none.

403 Your roles do not permit this action.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

422 The request input was rejected. The errors object lists each validation failure.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.
errors InputErrors Required Validation errors for each rejected value. Parameter errors are returned as a list, and body errors as a tree matching the request body structure.

Any other status: The request was rejected. The problem type identifies the error, and the detail field provides a human-readable explanation.

PropertyTypeDescription
type string Required A URL that identifies the kind of problem. Its last segment, such as auth_required or input_invalid, is the code your app should check.
title string Required The HTTP status as text, such as Not Found.
status integer (int32) Required The HTTP status code of the response.
detail string Required A human-readable explanation of what went wrong.
instance string Required The path the request was sent to.

Example

curl -X GET 'https://zanpki.com/organizations/{organizationId}' \
  -H 'Authorization: Bearer <access token>'

All documentation