-
Notifications
You must be signed in to change notification settings - Fork 137
PKI CA Delete Group REST API
ckelleyRH edited this page Jun 10, 2021
·
3 revisions
-
Path:
/ca/rest/admin/groups/{groupID}
-
Method:
DELETE
-
Authentication: Client certificate
-
Parameters:
-
groupID
: string
-
-
Content: None
curl \ -k \ -s \ -X "DELETE" \ --user caadmin:Secret.123 \ https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise%20TPS%20Administrators
-
Second run, group no longer exists:
curl \ -k \ -s \ -X "DELETE" \ -H "Accept: application/json" \ --user caadmin:Secret.123 \ https://localhost.localdomain:8443/ca/rest/admin/groups/Enterprise%20TPS%20Administrators | python -m json.tool { "Attributes": { "Attribute": [] }, "ClassName": "com.netscape.certsrv.base.ResourceNotFoundException", "Code": 404, "Message": "No such object." }
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |