PKI CA Retrieve User REST API - dogtagpki/pki GitHub Wiki
-
Path:
/ca/rest/admin/users/{userID} -
Method:
GET -
Authentication: Client certificate
-
Parameters:
-
userID: string
-
-
Content: none
curl -k -H "Accept: application/json" --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/admin/users/caadmin | python -m json.tool
{
"id": "caadmin",
"UserID": "caadmin",
"FullName": "caadmin",
"Email": "[email protected]",
"Type": "adminType",
"State": "1",
"Link": {
"rel": "self",
"href": "https://localhost.localdomain:8443/ca/rest/admin/users/caadmin",
"type": "application/xml"
},
"Attributes": {
"Attribute": []
}
}