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": "a617da02-2940-4464-b4d8-40aa5f997b70",
"ClubId": "5cd9c70e-6f02-4f63-af94-6f3f750e9f11",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "0137b961-c540-4f8e-8258-9018001e181f",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"f4d1e9b1-e6ae-4b5f-b8b8-1adc21ab1eff",
"f2008fa7-ec2b-4905-93b8-8a0e017ad5ea"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-18T17:34:30.0144158+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "a617da02-2940-4464-b4d8-40aa5f997b70",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"a617da02-2940-4464-b4d8-40aa5f997b70","ClubId":"5cd9c70e-6f02-4f63-af94-6f3f750e9f11","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"0137b961-c540-4f8e-8258-9018001e181f","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["f4d1e9b1-e6ae-4b5f-b8b8-1adc21ab1eff","f2008fa7-ec2b-4905-93b8-8a0e017ad5ea"],"AccountState":7,"LastPasswordChangeOn":"2026-02-18T17:34:30.0144158+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"a617da02-2940-4464-b4d8-40aa5f997b70","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">a617da02-2940-4464-b4d8-40aa5f997b70</Id>
<AccountState>7</AccountState>
<ClubId>5cd9c70e-6f02-4f63-af94-6f3f750e9f11</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-18T17:34:30.0144158+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>0137b961-c540-4f8e-8258-9018001e181f</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>a617da02-2940-4464-b4d8-40aa5f997b70</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f4d1e9b1-e6ae-4b5f-b8b8-1adc21ab1eff</d2p1:guid>
<d2p1:guid>f2008fa7-ec2b-4905-93b8-8a0e017ad5ea</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": "eb1a42bc-d4c7-41f1-866d-530509f3e9f8",
"ClubId": "3a570520-cb03-4dcd-ba9c-86a6c951762e",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "3bf92042-1f44-4a95-951f-1245b3046563",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"75ad0f3e-0bfa-4ca2-bb92-10e4e76a8bfb",
"2d33f284-34d2-44ea-bbd5-e124945a36fd"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-18T17:34:30.0144158+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "eb1a42bc-d4c7-41f1-866d-530509f3e9f8",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"eb1a42bc-d4c7-41f1-866d-530509f3e9f8","ClubId":"3a570520-cb03-4dcd-ba9c-86a6c951762e","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"3bf92042-1f44-4a95-951f-1245b3046563","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["75ad0f3e-0bfa-4ca2-bb92-10e4e76a8bfb","2d33f284-34d2-44ea-bbd5-e124945a36fd"],"AccountState":7,"LastPasswordChangeOn":"2026-02-18T17:34:30.0144158+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"eb1a42bc-d4c7-41f1-866d-530509f3e9f8","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">eb1a42bc-d4c7-41f1-866d-530509f3e9f8</Id>
<AccountState>7</AccountState>
<ClubId>3a570520-cb03-4dcd-ba9c-86a6c951762e</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-18T17:34:30.0144158+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>3bf92042-1f44-4a95-951f-1245b3046563</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>eb1a42bc-d4c7-41f1-866d-530509f3e9f8</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>75ad0f3e-0bfa-4ca2-bb92-10e4e76a8bfb</d2p1:guid>
<d2p1:guid>2d33f284-34d2-44ea-bbd5-e124945a36fd</d2p1:guid>
</UserRoleIds>
</UserDetails>