Skip to content

PKI CA List Users REST API

ckelleyRH edited this page Jun 10, 2021 · 3 revisions

Request

  • Path: /ca/rest/admin/users

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • filter: string

    • start: integer

    • size: integer

  • Content: None

  • Success code: 200

Source

Example

curl \
  -k \
  -s \
  -H "Accept: application/json" \
  --user caadmin:Secret.123 \
  https://localhost.localdomain:8443/ca/rest/admin/users | python -m json.tool
{
    "total": 3,
    "entries": [
        {
            "id": "CA-localhost.localdomain-8443",
            "UserID": "CA-localhost.localdomain-8443",
            "FullName": "CA-localhost.localdomain-8443",
            "Link": {
                "rel": "self",
                "href": "https://localhost.localdomain:8443/ca/rest/admin/users/CA-localhost.localdomain-8443",
                "type": "application/xml"
            },
            "Attributes": {
                "Attribute": []
            }
        },
        ...
    ],
    "Link": []
}
Clone this wiki locally