-
Notifications
You must be signed in to change notification settings - Fork 137
PKI CA List User Roles REST API
ckelleyRH edited this page Jun 7, 2021
·
2 revisions
-
Path:
/ca/rest/admin/users/{userID}/memberships
-
Method:
GET
-
Authentication: Client certificate
-
Parameters:
-
userID
: string -
filter
: string -
start
: integer -
size
: integer
-
-
Content: None
$ curl -k -H "Accept: application/json" --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/admin/users/pkidbuser/memberships | python -m json.tool { "total": 2, "Membership": [ { "id": "Certificate Manager Agents", "UserID": "pkidbuser", "Link": { "rel": "self", "href": "https://localhost.localdomain:8443/ca/rest/admin/users/pkidbuser/memberships/Certificate+Manager+Agents", "type": "application/json" } }, { "id": "Subsystem Group", "UserID": "pkidbuser", "Link": { "rel": "self", "href": "https://localhost.localdomain:8443/ca/rest/admin/users/pkidbuser/memberships/Subsystem+Group", "type": "application/json" } } ], "Link": [] }
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |