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": "d37c05d5-cb11-4351-b2ee-f33ecc9b4a75",
"ClubId": "ddd5648d-c9a8-4fcb-958d-cdce0bac7b43",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "e6369a59-b38b-4a2d-a273-76ca0314dacd",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"a3037a3b-38dc-4408-b2e1-53bf3d91e205",
"f5da3dbb-bf1d-49c0-be52-2e06bc7a292f"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-11-12T08:28:43.601346+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "d37c05d5-cb11-4351-b2ee-f33ecc9b4a75",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"d37c05d5-cb11-4351-b2ee-f33ecc9b4a75","ClubId":"ddd5648d-c9a8-4fcb-958d-cdce0bac7b43","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"e6369a59-b38b-4a2d-a273-76ca0314dacd","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["a3037a3b-38dc-4408-b2e1-53bf3d91e205","f5da3dbb-bf1d-49c0-be52-2e06bc7a292f"],"AccountState":7,"LastPasswordChangeOn":"2026-11-12T08:28:43.601346+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"d37c05d5-cb11-4351-b2ee-f33ecc9b4a75","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">d37c05d5-cb11-4351-b2ee-f33ecc9b4a75</Id>
<AccountState>7</AccountState>
<ClubId>ddd5648d-c9a8-4fcb-958d-cdce0bac7b43</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-11-12T08:28:43.601346+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>e6369a59-b38b-4a2d-a273-76ca0314dacd</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>d37c05d5-cb11-4351-b2ee-f33ecc9b4a75</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>a3037a3b-38dc-4408-b2e1-53bf3d91e205</d2p1:guid>
<d2p1:guid>f5da3dbb-bf1d-49c0-be52-2e06bc7a292f</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": "d1f99ee6-3ab1-4c6c-a822-61e16e597191",
"ClubId": "889b7d69-41e0-4f40-b8e3-ee5e938c385e",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "449542f0-bac6-4338-9116-730fd8662b74",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"d916a8bb-eb49-49fd-9727-9ba1c41fe351",
"2c37adc6-f902-4581-adef-ebb81b9bb2a6"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-11-12T08:28:43.601346+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "d1f99ee6-3ab1-4c6c-a822-61e16e597191",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"d1f99ee6-3ab1-4c6c-a822-61e16e597191","ClubId":"889b7d69-41e0-4f40-b8e3-ee5e938c385e","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"449542f0-bac6-4338-9116-730fd8662b74","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["d916a8bb-eb49-49fd-9727-9ba1c41fe351","2c37adc6-f902-4581-adef-ebb81b9bb2a6"],"AccountState":7,"LastPasswordChangeOn":"2026-11-12T08:28:43.601346+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"d1f99ee6-3ab1-4c6c-a822-61e16e597191","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">d1f99ee6-3ab1-4c6c-a822-61e16e597191</Id>
<AccountState>7</AccountState>
<ClubId>889b7d69-41e0-4f40-b8e3-ee5e938c385e</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-11-12T08:28:43.601346+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>449542f0-bac6-4338-9116-730fd8662b74</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>d1f99ee6-3ab1-4c6c-a822-61e16e597191</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d916a8bb-eb49-49fd-9727-9ba1c41fe351</d2p1:guid>
<d2p1:guid>2c37adc6-f902-4581-adef-ebb81b9bb2a6</d2p1:guid>
</UserRoleIds>
</UserDetails>