Skip to content

PKI Logout REST API

ckelleyRH edited this page Jun 11, 2021 · 3 revisions

Request

  • Method: GET

  • Path: /<subsystem>/rest/account/logout

  • Authentication: Not required

  • Content: None

  • Success code: 204

Source

Examples

CA example
curl \
  -k \
  -s \
  --user caadmin:Secret.123 \
  https://localhost.localdomain:8443/ca/rest/account/logout
KRA example
curl \
  -k \
  -s \
  --user kraadmin:Secret.123 \
  https://localhost.localdomain:8443/kra/rest/account/logout
OCSP example
curl \
  -k \
  -s \
  --user ocspadmin:Secret.123 \
  https://localhost.localdomain:8443/ocsp/rest/account/logout
TKS example
curl \
  -k \
  -s \
  --user tksadmin:Secret.123 \
  https://localhost.localdomain:8443/tks/rest/account/logout
TPS example
curl \
  -k \
  -s \
  --user tpsadmin:Secret.123 \
  https://localhost.localdomain:8443/tps/rest/account/logout

See also

The ACME subsystem has a different logout process documented here.

Clone this wiki locally