Skip to content

PKI CA List Group Members REST API

ckelleyRH edited this page Jun 10, 2021 · 3 revisions

Request

  • Path: /ca/rest/admin/groups/{groupID}/members

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • groupID: string

    • filter: string

    • start: integer

    • size: integer

  • Content: None

Source

Example

curl \
  -k \
  -s \
  -H "Accept: application/json" \
  --user caadmin:Secret.123 \
https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise%20RA%20Administrators/members | python -m json.tool
{
    "total": 1,
    "Member": [
        {
            "id": "caadmin",
            "GroupID": "Enterprise RA Administrators",
            "Link": {
                "rel": "self",
                "href": "https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise+RA+Administrators/members/caadmin",
                "type": "application/xml"
            }
        }
    ],
    "Link": []
}
Clone this wiki locally