-
Notifications
You must be signed in to change notification settings - Fork 139
PKI CA Replace User REST API
ckelleyRH edited this page Jun 7, 2021
·
2 revisions
-
Path:
/ca/rest/admin/users/{userID}
-
Methoid
PUT
-
Authentication: Client certificate
-
Parameters:
-
userID
: string
-
curl -k -X PUT -H "Content-Type:application/json" -H "Accept: application/json" -d '{"id":"asdfg","UserID":"asdfg","Password":"foobarfoobar","FullName":"newFullName","Link":{"rel":"self","href":"https://localhost.localdomain:8443/ca/rest/admin/users/qwerty","type":"application/xml"},"Attributes":{"Attribute":[]}}' --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/admin/users/asdfg | python -m json.tool { "id": "asdfg", "UserID": "asdfg", "FullName": "newFullName", "Link": { "rel": "self", "href": "https://localhost.localdomain:8443/ca/rest/admin/users/asdfg", "type": "application/xml" }, "Attributes": { "Attribute": [] } }
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |