Update User Details

Update User Details

Use this endpoint to update user details
Authorized Roles : PROVIDER or ORG_ADMIN

Request
URI
PUT
https://{api_host}/provider/users/{id}/update-user-details
COPY
Path Parameters
integer
id
Required

ID of the user


Request Body
tdmUserUpdateDTO of type(s) application/json
Required
{
    "firstName": "string",
    "lastName": "string",
    "contactNumber": "string",
    "roles": [
        "string"
    ]
}
string
firstName
Optional
Constraints: minLength: 0 maxLength: 30

firstName

string
lastName
Optional
Constraints: minLength: 0 maxLength: 30

lastName

string
contactNumber
Optional
Constraints: minLength: 0 maxLength: 30

contactNumber

array of string
roles
Optional

Valid values are - TENANT_ADMIN and/or TENANT_USER

Possible values are : ORG_ADMIN, ORG_USER, PROVIDER,
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Operation doesn't return any data structure

400

Bad Request

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/provider/users/{id}/update-user-details