PUT api/v1/users/{userId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | globally unique identifier |
Required |
Body Parameters
UserDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
Required |
|
| FriendlyName | string |
Required String length: inclusive between 0 and 100 |
|
| NotificationEmail | string |
Required String length: inclusive between 0 and 256 |
|
| PersonId | globally unique identifier |
None. |
|
| Remarks | string |
None. |
|
| UserName | string |
Required String length: inclusive between 0 and 256 |
|
| UserRoleIds | Collection of globally unique identifier |
None. |
|
| AccountState | integer |
None. |
|
| LastPasswordChangeOn | date |
None. |
|
| ForcePasswordChangeNextLogon | boolean |
None. |
|
| EmailConfirmed | boolean |
None. |
|
| LanguageId | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserId": "073d2a8c-f370-4594-a078-dce1349a0eb7",
"ClubId": "7be0359c-34d2-4294-afa4-100e9cd71a48",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "61a278da-66d5-4b33-8dcd-7910aaa1fbc6",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"fe9786c7-0435-4fbc-aaf2-ac1022265083",
"e677ae8f-9e9e-4bfc-a23a-02cc21b4b7d5"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-08T12:09:12.2096225+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "073d2a8c-f370-4594-a078-dce1349a0eb7",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"073d2a8c-f370-4594-a078-dce1349a0eb7","ClubId":"7be0359c-34d2-4294-afa4-100e9cd71a48","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"61a278da-66d5-4b33-8dcd-7910aaa1fbc6","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["fe9786c7-0435-4fbc-aaf2-ac1022265083","e677ae8f-9e9e-4bfc-a23a-02cc21b4b7d5"],"AccountState":7,"LastPasswordChangeOn":"2026-02-08T12:09:12.2096225+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"073d2a8c-f370-4594-a078-dce1349a0eb7","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<UserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.User">
<CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
<CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
<Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">073d2a8c-f370-4594-a078-dce1349a0eb7</Id>
<AccountState>7</AccountState>
<ClubId>7be0359c-34d2-4294-afa4-100e9cd71a48</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-08T12:09:12.2096225+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>61a278da-66d5-4b33-8dcd-7910aaa1fbc6</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>073d2a8c-f370-4594-a078-dce1349a0eb7</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fe9786c7-0435-4fbc-aaf2-ac1022265083</d2p1:guid>
<d2p1:guid>e677ae8f-9e9e-4bfc-a23a-02cc21b4b7d5</d2p1:guid>
</UserRoleIds>
</UserDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | globally unique identifier |
None. |
|
| ClubId | globally unique identifier |
Required |
|
| FriendlyName | string |
Required String length: inclusive between 0 and 100 |
|
| NotificationEmail | string |
Required String length: inclusive between 0 and 256 |
|
| PersonId | globally unique identifier |
None. |
|
| Remarks | string |
None. |
|
| UserName | string |
Required String length: inclusive between 0 and 256 |
|
| UserRoleIds | Collection of globally unique identifier |
None. |
|
| AccountState | integer |
None. |
|
| LastPasswordChangeOn | date |
None. |
|
| ForcePasswordChangeNextLogon | boolean |
None. |
|
| EmailConfirmed | boolean |
None. |
|
| LanguageId | integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| CanUpdateRecord | boolean |
None. |
|
| CanDeleteRecord | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"UserId": "26825e66-f403-42d3-b7f6-1a32196b44c1",
"ClubId": "753aface-da1a-4dfa-be40-9c39301f18ee",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "67e3f992-1d24-4d3c-8357-b4d20cf1ff29",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"6eb890dc-978e-4c04-925e-1f0d6a077886",
"62a27a21-8dec-4519-b956-cbd6adb1eef7"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-08T12:09:12.2096225+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "26825e66-f403-42d3-b7f6-1a32196b44c1",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"26825e66-f403-42d3-b7f6-1a32196b44c1","ClubId":"753aface-da1a-4dfa-be40-9c39301f18ee","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"67e3f992-1d24-4d3c-8357-b4d20cf1ff29","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["6eb890dc-978e-4c04-925e-1f0d6a077886","62a27a21-8dec-4519-b956-cbd6adb1eef7"],"AccountState":7,"LastPasswordChangeOn":"2026-02-08T12:09:12.2096225+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"26825e66-f403-42d3-b7f6-1a32196b44c1","CanUpdateRecord":true,"CanDeleteRecord":true}
application/xml, text/xml
Sample:
<UserDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi.User">
<CanDeleteRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanDeleteRecord>
<CanUpdateRecord xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">true</CanUpdateRecord>
<Id xmlns="http://schemas.datacontract.org/2004/07/FLS.Data.WebApi">26825e66-f403-42d3-b7f6-1a32196b44c1</Id>
<AccountState>7</AccountState>
<ClubId>753aface-da1a-4dfa-be40-9c39301f18ee</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-08T12:09:12.2096225+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>67e3f992-1d24-4d3c-8357-b4d20cf1ff29</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>26825e66-f403-42d3-b7f6-1a32196b44c1</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6eb890dc-978e-4c04-925e-1f0d6a077886</d2p1:guid>
<d2p1:guid>62a27a21-8dec-4519-b956-cbd6adb1eef7</d2p1:guid>
</UserRoleIds>
</UserDetails>