PKI Delete User REST API - dogtagpki/pki GitHub Wiki

Request

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

  • Method: DELETE

  • Authentication: Client certificate

  • Parameters: None

  • Content: None

  • Success code: 200

Source

UserService.removeUser()

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.

⚠️ **GitHub.com Fallback** ⚠️