What deleting the certificate takes with it, or when it can be deleted.

GET /organizations/{organizationId}/certificates/{certificateId}/deletion

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

ID de operación organizations.organizationId.certificates.certificateId.deletion.get
Acceso Signed in through ZanAuth: the access token cookie, with its ID token and refresh token companions. O: An access token the site's ZanAuth issuer minted for its app, or a static key.

Parámetros

NombreEnTipoDescripción
organizationId Ruta Obligatorio string (snowflake) The organization.
certificateId Ruta Obligatorio string (snowflake) The certificate.

Respuestas

EstadoDescripciónEsquemaTipo de contenido
200 What deleting the certificate takes with it, or when it can be deleted. 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
Cualquier otro estado 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 certificate takes with it, or when it can be deleted.

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

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

422 The input was rejected; errors names each failure.

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

Cualquier otro estado: The request was refused. The problem's type names why, and its detail explains it for people to read.

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

Ejemplo

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

Toda la documentación

0 sentencias de base de datos · 14 lecturas de la caché · 0.0 ms esperando a la base de datos · 32,0 MiB de memoria pico
public.settingsSELECTde la caché
public.mesh_nodesSELECTde la caché
public.fqdnsSELECTde la caché
public.sitesSELECTde la caché
public.api_buildsSELECTde la caché
public.docs_guidesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.filesSELECTde la caché
public.api_buildsSELECTde la caché
public.docs_guidesSELECTde la caché