PUT api/Admin/Tenant/{tenantId}/Users/local/{userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| tenantId | integer |
Required |
|
| userId | integer |
Required |
Body Parameters
UserLocalPutDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| DisplayName | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| Department | string |
None. |
|
| IsActive | boolean |
None. |
|
| TimeZoneId | integer |
None. |
|
| MustChangePassword | boolean |
None. |
|
| LockoutEndUtc | date |
None. |
|
| RolesIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"DisplayName": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"Department": "sample string 5",
"IsActive": true,
"TimeZoneId": 7,
"MustChangePassword": true,
"LockoutEndUtc": "2026-07-17T06:06:36.6487422+00:00",
"RolesIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<UserLocalPutDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bluedock.Booking.Rest.Models.User">
<Department>sample string 5</Department>
<DisplayName>sample string 2</DisplayName>
<Email>sample string 3</Email>
<IsActive>true</IsActive>
<LockoutEndUtc>2026-07-17T06:06:36.6487422+00:00</LockoutEndUtc>
<MustChangePassword>true</MustChangePassword>
<Phone>sample string 4</Phone>
<RolesIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</RolesIds>
<TimeZoneId>7</TimeZoneId>
<UserName>sample string 1</UserName>
</UserLocalPutDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.