curl -X PATCH "<base_url>/usermanagement/v1/users" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}'
{
"header": {
"code": 1,
"message": "User details updated successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}
}
User Management
Update a User
Updates the profile service attributes of an existing user.
PATCH
/
usermanagement
/
v1
/
users
curl -X PATCH "<base_url>/usermanagement/v1/users" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}'
{
"header": {
"code": 1,
"message": "User details updated successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}
}
Send a live request to
PATCH /usermanagement/v1/users with Try it. See the full reference for the response fields and error codes: Update a User.
Request Body
string
required
Username generated when the user was created.
string
required
Slug of the service this profile patch applies to.
object
required
curl -X PATCH "<base_url>/usermanagement/v1/users" \
-H "X-AccessToken: YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}'
{
"header": {
"code": 1,
"message": "User details updated successfully",
"response_code": 1
},
"body": {
"userName": "string",
"serviceSlug": "rmd",
"attributes": {
"countryId": 1,
"firstName": "string",
"lastName": "string",
"dateOfBirth": "string",
"addressLine1": "string",
"city": "string",
"zipCode": "string"
}
}
}