PKI CA Retrieve Group REST API - dogtagpki/pki GitHub Wiki

Request

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

  • Method: GET

  • Authentication: Client certificate

  • Parameters:

    • groupID: string

  • Content: None

Source

GroupService.getGroup()

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"
    }
}
⚠️ **GitHub.com Fallback** ⚠️