Skip to content

PKI CA Retrieve User REST API

ckelleyRH edited this page Jun 4, 2021 · 2 revisions

Request

  • Path: /ca/rest/admin/users/{userID}

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • userID: string

  • Content: none

Response

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": []
    }
}
Clone this wiki locally