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": "8e732788-4aaf-4645-9728-0d38f4c63d67",
"ClubId": "9813e201-53c3-44ac-b1ee-d194b47be152",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "637aa0ce-4458-47a8-b26f-cc61914ba730",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"def00397-6fd1-43ef-ae57-05a57a8532f7",
"c9119ec3-bde4-449b-b052-38e190fbe553"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-11-24T17:53:00.3863833+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "8e732788-4aaf-4645-9728-0d38f4c63d67",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"8e732788-4aaf-4645-9728-0d38f4c63d67","ClubId":"9813e201-53c3-44ac-b1ee-d194b47be152","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"637aa0ce-4458-47a8-b26f-cc61914ba730","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["def00397-6fd1-43ef-ae57-05a57a8532f7","c9119ec3-bde4-449b-b052-38e190fbe553"],"AccountState":7,"LastPasswordChangeOn":"2025-11-24T17:53:00.3863833+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"8e732788-4aaf-4645-9728-0d38f4c63d67","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">8e732788-4aaf-4645-9728-0d38f4c63d67</Id>
<AccountState>7</AccountState>
<ClubId>9813e201-53c3-44ac-b1ee-d194b47be152</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-11-24T17:53:00.3863833+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>637aa0ce-4458-47a8-b26f-cc61914ba730</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>8e732788-4aaf-4645-9728-0d38f4c63d67</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>def00397-6fd1-43ef-ae57-05a57a8532f7</d2p1:guid>
<d2p1:guid>c9119ec3-bde4-449b-b052-38e190fbe553</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": "fe01707c-fe63-4329-81ba-b7a36a447c63",
"ClubId": "b7b99e22-627d-4d5e-851f-7f0a3118ca89",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "64cfbd5f-def4-4fa8-a939-483e1557fe38",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"dc77117c-d913-4dd9-8de8-4a5c4fd2e446",
"90202ef8-0953-4b6b-a5cc-2e38269393d7"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-11-24T17:53:00.3863833+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "fe01707c-fe63-4329-81ba-b7a36a447c63",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"fe01707c-fe63-4329-81ba-b7a36a447c63","ClubId":"b7b99e22-627d-4d5e-851f-7f0a3118ca89","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"64cfbd5f-def4-4fa8-a939-483e1557fe38","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["dc77117c-d913-4dd9-8de8-4a5c4fd2e446","90202ef8-0953-4b6b-a5cc-2e38269393d7"],"AccountState":7,"LastPasswordChangeOn":"2025-11-24T17:53:00.3863833+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"fe01707c-fe63-4329-81ba-b7a36a447c63","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">fe01707c-fe63-4329-81ba-b7a36a447c63</Id>
<AccountState>7</AccountState>
<ClubId>b7b99e22-627d-4d5e-851f-7f0a3118ca89</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-11-24T17:53:00.3863833+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>64cfbd5f-def4-4fa8-a939-483e1557fe38</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>fe01707c-fe63-4329-81ba-b7a36a447c63</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>dc77117c-d913-4dd9-8de8-4a5c4fd2e446</d2p1:guid>
<d2p1:guid>90202ef8-0953-4b6b-a5cc-2e38269393d7</d2p1:guid>
</UserRoleIds>
</UserDetails>