What deleting the authority takes with it: every authority below it, what they signed, their keys and lists; and what becomes of trust in it.

GET /organizations/{organizationId}/authorities/{authorityId}/deletion

GET https://dev.zanpki.com/organizations/{organizationId}/authorities/{authorityId}/deletion

Operation ID organizations.organizationId.authorities.authorityId.deletion.get
Access Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. Or: An access token the site's ZanAuth issuer minted for its app, or a static key.

Parameters

NameInTypeDescription
organizationId Path Required string (snowflake) The organization.
authorityId Path Required string (snowflake) The authority.

Responses

StatusDescriptionSchemaContent type
200 What deleting the authority takes with it: every authority below it, what they signed, their keys and lists; and what becomes of trust in it. DeletionPage application/json, text/html, text/markdown
403 Your roles here do not allow this. Problem application/json, text/html, text/markdown
422 The input was rejected; errors names each failure. ValidationProblem application/json, text/html, text/markdown
Any other status The request was refused. The problem's type names why, and its detail explains it for people to read. Problem application/json, text/html, text/markdown

200 What deleting the authority takes with it: every authority below it, what they signed, their keys and lists; and what becomes of trust in it.

PropertyTypeDescription
pki_organizations_id string (snowflake) Required The organization's ID.
pki_organizations_name string Required One customer, product or team: what holds authorities, certificates and machines; up to 100 characters.
pki_agencies_id string (snowflake) Required The agency's ID; for an organization, the ID of the agency that holds it.
pki_agencies_name string Required Your company, or the agency you run for your clients, up to 100 characters; it holds their organizations.
record_id string (snowflake) Required The ID of what is to be deleted: the certificate, authority, signing request or organization.
name string Required The name of what is to be deleted.
certificates_name string, or null Optional What you call the certificate in ZanPKI, up to 100 characters; its exported files are named after it.
authorities_name string, or null Optional What you call the authority in ZanPKI, up to 100 characters; its exported files are named after it.
signing_requests_name string, or null Optional What you call the signing request in ZanPKI, up to 100 characters.
deletable boolean Required Whether it may be deleted now. A certificate, or an authority that has ended, waits until no revocation list can need it, which deletable_from says.
deletable_from integer (int64), or null Required Seconds since the Unix epoch.
goes list of DeletionLine Required What goes with it, by kind; it alone when empty.
authorities list of string Required The authorities that go with it, by name: those below an authority, or every one of an organization's.
revocation one of: "issuer_revokes", "revoked_already", "revoked_above", "ended", "root", "issuer_elsewhere", null Required For an authority: whether its issuer revokes it, or why nothing does; null for anything else.
issuer_name string, or null Required For an authority, the name of the authority here that signed it; null when it signed itself or its issuer is not here, and for anything else.
revoked_above_name string, or null Required For an authority, the name of the nearest revoked authority in its issuer chain; null when none is, and for anything else.
listed_until integer (int64), or null Required For an authority its issuer revokes now or has revoked already: until when the issuer's revocation list keeps naming it, a week after it ends, in seconds since the Unix epoch; null otherwise.
in_force_until integer (int64), or null Required For an organization, or an authority nothing here revokes (a root, or one whose issuer is not here): when the last certificate or authority going with it that is still in force ends, in seconds since the Unix epoch; null when none is in force, and for anything else.
revoked_below integer (int32) Required For an organization, or an authority nothing here revokes: how many revoked certificates and authorities the revocation lists going with it still name, which drop off with them; 0 for anything else.
fingerprint string, or null Required For an organization: a digest of everything this page read, which its delete is sent with, and refuses once anything changed; null for anything else.

403 Your roles here do not allow this.

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 An explanation of what went wrong, written for people to read.
instance string Required The path the request was sent to.

422 The input was rejected; errors names each 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 An explanation of what went wrong, written for people to read.
instance string Required The path the request was sent to.
errors InputErrors Required What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

Any other status: The request was refused. The problem's type names why, and its detail explains it for people to read.

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 An explanation of what went wrong, written for people to read.
instance string Required The path the request was sent to.

Example

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

All documentation

0 database statements · 14 reads from the cache · 0.0 ms waiting for the database · 36.0 MiB peak memory
public.settingsSELECTfrom the cache
public.mesh_nodesSELECTfrom the cache
public.fqdnsSELECTfrom the cache
public.sitesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.filesSELECTfrom the cache
public.api_buildsSELECTfrom the cache
public.docs_guidesSELECTfrom the cache