What deleting the organization takes with it: its authorities, certificates, signing requests, keys and lists, its machines and its members' roles; and the fingerprint its delete is sent with.

GET /organizations/{organizationId}/deletion

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

Operations-ID organizations.organizationId.deletion.get
Zugriff Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. Oder: An access token the site's ZanAuth issuer minted for its app, or a static key.

Parameter

NameInTypBeschreibung
organizationId Pfad Erforderlich string (snowflake) The organization.

Antworten

StatusBeschreibungSchemaInhaltstyp
200 What deleting the organization takes with it: its authorities, certificates, signing requests, keys and lists, its machines and its members' roles; and the fingerprint its delete is sent with. 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
Jeder andere 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 organization takes with it: its authorities, certificates, signing requests, keys and lists, its machines and its members' roles; and the fingerprint its delete is sent with.

EigenschaftTypBeschreibung
pki_organizations_id string (snowflake) Erforderlich The organization's ID.
pki_organizations_name string Erforderlich One customer, product or team: what holds authorities, certificates and machines; up to 100 characters.
pki_agencies_id string (snowflake) Erforderlich The agency's ID; for an organization, the ID of the agency that holds it.
pki_agencies_name string Erforderlich Your company, or the agency you run for your clients, up to 100 characters; it holds their organizations.
record_id string (snowflake) Erforderlich The ID of what is to be deleted: the certificate, authority, signing request or organization.
name string Erforderlich 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 Erforderlich 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 Erforderlich Seconds since the Unix epoch.
goes list of DeletionLine Erforderlich What goes with it, by kind; it alone when empty.
authorities list of string Erforderlich 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 Erforderlich For an authority: whether its issuer revokes it, or why nothing does; null for anything else.
issuer_name string, or null Erforderlich 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 Erforderlich 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 Erforderlich 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 Erforderlich 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) Erforderlich 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 Erforderlich 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.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

422 The input was rejected; errors names each failure.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.
errors InputErrors Erforderlich What is wrong with each refused value. Parameters come as a list, and body errors as a tree shaped like the body.

Jeder andere Status: The request was refused. The problem's type names why, and its detail explains it for people to read.

EigenschaftTypBeschreibung
type string Erforderlich 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 Erforderlich The HTTP status as text, such as Not Found.
status integer (int32) Erforderlich The HTTP status code of the response.
detail string Erforderlich An explanation of what went wrong, written for people to read.
instance string Erforderlich The path the request was sent to.

Beispiel

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

Gesamte Dokumentation

0 Datenbankabfragen · 14 Lesezugriffe aus dem Cache · 0.0 ms Wartezeit auf die Datenbank · 32,0 MiB Spitzenspeicher
public.settingsSELECTaus dem Cache
public.mesh_nodesSELECTaus dem Cache
public.fqdnsSELECTaus dem Cache
public.sitesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.filesSELECTaus dem Cache
public.api_buildsSELECTaus dem Cache
public.docs_guidesSELECTaus dem Cache