- 
                Notifications
    
You must be signed in to change notification settings  - Fork 148
 
PKI CA Modify User REST API
        ckelleyRH edited this page Jun 7, 2021 
        ·
        2 revisions
      
    - 
Path:
/ca/rest/admin/users/{userID} - 
Method:
PATCH - 
Authentication: Client certificate
 - 
Parameters:
- 
userID: string 
 - 
 
$ curl -k -X PATCH -H "Content-Type:application/json" -H "Accept: application/json" -d '{"FullName":"foobar"}' --user caadmin:Secret.123 -s https://localhost.localdomain:8443/ca/rest/admin/users/asdfg | python -m json.tool
{
    "id": "asdfg",
    "UserID": "asdfg",
    "FullName": "foobar",
    "Link": {
        "rel": "self",
        "href": "https://localhost.localdomain:8443/ca/rest/admin/users/asdfg",
        "type": "application/xml"
    },
    "Attributes": {
        "Attribute": []
    }
}
| 
 Tip 
 | 
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |