Partially update a specific user by login name
patch
/PASService/rest/services/v1/users/{loginName}
Partially updates a specific user by login name
Request
Path Parameters
-
loginName(required): string(guid)
UserName
Supported Media Types
- application/json
Root Schema : schema
Type:
stringResponse
204 Response
successful operation
Examples
This example describes how to update a user partially for the fields given in request body for a specified user by login name.
Note
Below is the list of Fields that are not allowed for update using PATCH.
- clientGuid
- clientNumber
Example cURL Command
Use the following cURL command to submit a request on the REST resource:
curl -X PUT \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-u 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-L "http://server:port/PASService/rest/services/v1/users/TestUser4" \
-d '{"Use this placeholder to plug-in the example request body given below"}'
Example Request Body
The following shows an example of the request body in JSON format:
{
"user": {
"password": "User100",
"userStatus": "01",
"localeCode": "00"
}
}