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": "63539ea6-58c7-4788-bc60-62ac6bc8d4c9",
"ClubId": "11d627c3-6c36-4de5-a201-1a81da340ddc",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "c08d90cd-3856-48c2-b551-1be43708767f",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"76690b75-ab2b-463b-879e-a234223c5790",
"28018090-2d4a-4b0e-9590-6e2cb5415caf"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-04T02:41:50.2320378+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "63539ea6-58c7-4788-bc60-62ac6bc8d4c9",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"63539ea6-58c7-4788-bc60-62ac6bc8d4c9","ClubId":"11d627c3-6c36-4de5-a201-1a81da340ddc","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"c08d90cd-3856-48c2-b551-1be43708767f","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["76690b75-ab2b-463b-879e-a234223c5790","28018090-2d4a-4b0e-9590-6e2cb5415caf"],"AccountState":7,"LastPasswordChangeOn":"2026-01-04T02:41:50.2320378+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"63539ea6-58c7-4788-bc60-62ac6bc8d4c9","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">63539ea6-58c7-4788-bc60-62ac6bc8d4c9</Id>
<AccountState>7</AccountState>
<ClubId>11d627c3-6c36-4de5-a201-1a81da340ddc</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-04T02:41:50.2320378+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>c08d90cd-3856-48c2-b551-1be43708767f</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>63539ea6-58c7-4788-bc60-62ac6bc8d4c9</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>76690b75-ab2b-463b-879e-a234223c5790</d2p1:guid>
<d2p1:guid>28018090-2d4a-4b0e-9590-6e2cb5415caf</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": "a4fa24b3-9385-4d45-9153-0a6e19087795",
"ClubId": "d70aebda-a89e-4df7-8cdc-2212dca3b6e0",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "5573a3d9-62e3-41fd-8191-ff42f7c45521",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"9c6c88e0-ad00-4cbf-898a-a52dd7db22ff",
"51840590-0014-46b7-814e-897a79b885bb"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-04T02:41:50.2476154+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "a4fa24b3-9385-4d45-9153-0a6e19087795",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"a4fa24b3-9385-4d45-9153-0a6e19087795","ClubId":"d70aebda-a89e-4df7-8cdc-2212dca3b6e0","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"5573a3d9-62e3-41fd-8191-ff42f7c45521","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["9c6c88e0-ad00-4cbf-898a-a52dd7db22ff","51840590-0014-46b7-814e-897a79b885bb"],"AccountState":7,"LastPasswordChangeOn":"2026-01-04T02:41:50.2476154+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"a4fa24b3-9385-4d45-9153-0a6e19087795","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">a4fa24b3-9385-4d45-9153-0a6e19087795</Id>
<AccountState>7</AccountState>
<ClubId>d70aebda-a89e-4df7-8cdc-2212dca3b6e0</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-04T02:41:50.2476154+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>5573a3d9-62e3-41fd-8191-ff42f7c45521</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>a4fa24b3-9385-4d45-9153-0a6e19087795</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9c6c88e0-ad00-4cbf-898a-a52dd7db22ff</d2p1:guid>
<d2p1:guid>51840590-0014-46b7-814e-897a79b885bb</d2p1:guid>
</UserRoleIds>
</UserDetails>