PKI CA Modify User REST API - dogtagpki/pki GitHub Wiki

Request

  • Path: /ca/rest/admin/users/{userID}

  • Method: PATCH

  • Authentication: Client certificate

  • Parameters:

    • userID: string

Example

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