DeletionPage
Properties
| 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. |
record_id
| string (snowflake) | Required | ID of the record being deleted (certificate, authority, signing request, or organization). |
name
| string | Required | Name of the record being deleted. |
certificates_name
| string, or null | Optional | Display name for the certificate in ZanPKI (up to 100 characters). Exported files use this name. |
authorities_name
| string, or null | Optional | Display name for the authority in ZanPKI (up to 100 characters). Exported files use this name. |
signing_requests_name
| string, or null | Optional | Display name for the signing request in ZanPKI (up to 100 characters). |
deletable
| boolean | Required | Whether the record can be deleted now. Certificates and expired authorities cannot be deleted until no CRL can still require them (see deletable_from). |
deletable_from
| integer (int64), or null | Required | Earliest time the record can be deleted, in seconds since the Unix epoch, or null if deletable now. |
goes
| list of DeletionLine | Required | Dependent records that will be deleted along with this record, grouped by kind; empty if nothing else is affected. |
authorities
| list of string | Required | Names of authorities that will also be deleted (subordinate authorities for an authority deletion, or all authorities for an organization deletion). |
revocation
| one of: "issuer_revokes", "revoked_already", "revoked_above", "ended", "root", "issuer_elsewhere", null | Required | For an authority, indicates whether its issuer will revoke it or why it cannot be revoked. Null for other record types. |
issuer_name
| string, or null | Required | For an authority, the name of its signing authority in ZanPKI. Null if self-signed, externally issued, or for other record types. |
revoked_above_name
| string, or null | Required | For an authority, the name of the nearest revoked authority in its issuer chain. Null if none is revoked or for other record types. |
listed_until
| integer (int64), or null | Required | For an authority being revoked or already revoked by its issuer, the timestamp until which it remains on the issuer's CRL (one week after expiration), in seconds since the Unix epoch; null otherwise. |
in_force_until
| integer (int64), or null | Required | For an organization or an authority that ZanPKI cannot revoke (a root or externally issued authority), the latest expiration time among still-valid certificates and authorities being deleted, in seconds since the Unix epoch. Null if none remain valid or for other record types. |
revoked_below
| integer (int32) | Required | For an organization or an authority that ZanPKI cannot revoke, the number of revoked certificates and authorities currently listed on CRLs that will stop being served; 0 for other record types. |
fingerprint
| string, or null | Required | For an organization, a digest of the deletion preview state that must be submitted with the DELETE request so deletion is rejected if anything changes. Null for other record types. |
Used by
| Method | Path | Summary |
|---|---|---|
| GET | /organizations/{organizationId}/authorities/{authorityId}/deletion | Preview what deleting this authority will remove (subordinate authorities, signed certificates, private keys, and revocation lists) and how it affects trust. |
| GET | /organizations/{organizationId}/certificates/{certificateId}/deletion | Preview what deleting this certificate will remove, or show when it becomes eligible for deletion. |
| GET | /organizations/{organizationId}/deletion | Preview everything that deleting the organization will remove (authorities, certificates, signing requests, private keys, revocation lists, machines, and member roles), along with the confirmation fingerprint required to delete it. |
| GET | /organizations/{organizationId}/signing-requests/{signingRequestId}/deletion | Preview what deleting this signing request will remove, including its private key. |