-
Notifications
You must be signed in to change notification settings - Fork 137
PKI CA Delete User REST API
Endi S. Dewata edited this page Jun 7, 2021
·
3 revisions
-
Method:
DELETE
-
Path:
/ca/rest/admin/users/{userID}
-
Authentication: client certificate
-
Parameters:
-
userID
: string
-
-
Content: None
-
Content: None
To delete a user using curl:
$ curl -k -X "DELETE" --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/admin/users/testuser
To delete a user using PKI CLI:
$ pki -n caadmin --message-format json --output tmp ca-user-del testuser
The request will be stored in tmp/http-request-3
:
DELETE /ca/rest/admin/users/testuser HTTP/1.1 Accept: application/json
The response will be stored in tmp/http-response-3
:
HTTP/1.1 204 Content-Type: application/json
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |