Skip to content

PKI CA Retrieve Group REST API

ckelleyRH edited this page Jun 10, 2021 · 3 revisions

Request

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

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • groupID: string

  • Content: None

Source

Example

curl \
  -k \
  -s \
  -H "Accept: application/json" \
  --user caadmin:Secret.123 \
  https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise%20TPS%20Administrators | python -m json.tool
{
    "id": "Enterprise TPS Administrators",
    "GroupID": "Enterprise TPS Administrators",
    "Description": "People who are the administrators for the security domain for TPS",
    "Link": {
        "rel": "self",
        "href": "https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise+TPS+Administrators",
        "type": "application/xml"
    }
}
Clone this wiki locally