Skip to content

PKI CA List Groups REST API

ckelleyRH edited this page Jun 10, 2021 · 4 revisions

Request

  • Path: /ca/rest/admin/groups

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • filter: string

    • start: integer

    • size: integer

  • Input: None

  • Success code: 200

Source

Example

curl \
  -k \
  -s \
  -H "Accept: application/json" \
  --user caadmin:Secret.123 \
  https://localhost.localdomain:8443/ca/rest/admin/groups | python -m json.tool
{
    "total": 14,
    "entries": [
        {
            "id": "Certificate Manager Agents",
            "GroupID": "Certificate Manager Agents",
            "Description": "Agents for Certificate Manager",
            "Link": {
                "rel": "self",
                "href": "https://localhost.localdomain:8443/ca/rest/admin/groups/Certificate+Manager+Agents",
                "type": "application/xml"
            }
        },
<snip>
    ],
    "Link": []
}
Clone this wiki locally