Skip to content

PKI Delete User REST API

ckelleyRH edited this page Sep 1, 2021 · 1 revision

Request

  • Path: /<subsystem>/rest/admin/users/{userID}

  • Method: DELETE

  • Authentication: Client certificate

  • Parameters: None

  • Content: None

  • Success code: 200

Source

Examples

CA Example
$ curl \
  -k \
  -X "DELETE" \
  --user caadmin:Secret.123 \
  -s https://localhost.localdomain:8443/ca/rest/admin/users/asdtfg
KRA Example
$ curl \
  -k \
  -X "DELETE" \
  --user kraadmin:Secret.123 \
  -s https://localhost.localdomain:8443/kra/rest/admin/users/kradmin
OCSP Example
$ curl \
  -k \
  -X "DELETE" \
  --user ocspadmin:Secret.123 \
  -s https://localhost.localdomain:8443/ocsp/rest/admin/users/ocspadmin
TKS Example
$ curl \
  -k \
  -X "DELETE" \
  --user tksadmin:Secret.123 \
  -s https://localhost.localdomain:8443/tks/rest/admin/users/tksadmin

See also

The TPS subsystem has a different remove user process documented here.

Clone this wiki locally