Show the organization's certificates page, including its authorities and pending signing requests. Certificates themselves are retrieved via the search endpoint.
GET /organizations/{organizationId}/certificates
GET https://zanpki.com/organizations/{organizationId}/certificates
| Operation ID |
organizations.organizationId.certificates.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
| Name | In | Type | Description | |
|---|---|---|---|---|
organizationId
| Path | Required | string (snowflake) | Organization ID. |
Responses
| Status | Description | Schema | Content type |
|---|---|---|---|
| 200 | Show the organization's certificates page, including its authorities and pending signing requests. Certificates themselves are retrieved via the search endpoint. | CertificatesPage | 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's certificates page, including its authorities and pending signing requests. Certificates themselves are retrieved via the search endpoint.
| Property | Type | Description | |
|---|---|---|---|
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. |
authorities
| list of AuthorityLine | Required | The organization's authorities, newest first, used to filter certificates and showing whether each can currently sign certificates. |
signing_requests
| list of SigningRequestLine | Required | Pending certificate signing requests created in ZanPKI, newest first. |
profiles
| list of ProfileLine | Required | The organization's custom profiles, ordered by name, offered alongside ZanPKI's built-in profiles in issuance forms. |
may_issue_certificates
| boolean | Required | Whether your roles allow you to issue, sign, import, reissue, revoke, and delete certificates, and create signing requests (certificates:issue). |
private_certificates_used
| integer (int64) | Required | Number of private certificates in this organization. |
private_certificates_most
| integer (int64) | Required | Maximum private certificates allowed by this organization's plan. |
private_certificates_advice
| one of: 1, 2, 3, 4, 7, 8, 9, 10, 11, 12 | Required | Upgrade advice shown when the private certificate limit is reached. |
billing_url
| string, or null | Required | URL of the agency's billing page shown when this organization needs a Paid plan to raise its limits. |
403 Your roles do not permit this action.
| Property | Type | Description | |
|---|---|---|---|
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.
| Property | Type | Description | |
|---|---|---|---|
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.
| Property | Type | Description | |
|---|---|---|---|
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}/certificates' \
-H 'Authorization: Bearer <access token>'