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": "d198bb25-bb89-4742-9852-3077892f583c",
"ClubId": "383e9474-e5f1-4e31-a30a-d2ac2bb8b4df",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "867e5fda-d977-4b4a-a98e-0f63f3c24387",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"077f3ab8-ed19-44c7-ac4c-5865b577392f",
"51391661-9394-4fb4-9942-e21b2cbeeeea"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-21T01:28:42.4206229+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "d198bb25-bb89-4742-9852-3077892f583c",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"d198bb25-bb89-4742-9852-3077892f583c","ClubId":"383e9474-e5f1-4e31-a30a-d2ac2bb8b4df","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"867e5fda-d977-4b4a-a98e-0f63f3c24387","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["077f3ab8-ed19-44c7-ac4c-5865b577392f","51391661-9394-4fb4-9942-e21b2cbeeeea"],"AccountState":7,"LastPasswordChangeOn":"2026-02-21T01:28:42.4206229+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"d198bb25-bb89-4742-9852-3077892f583c","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">d198bb25-bb89-4742-9852-3077892f583c</Id>
<AccountState>7</AccountState>
<ClubId>383e9474-e5f1-4e31-a30a-d2ac2bb8b4df</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-21T01:28:42.4206229+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>867e5fda-d977-4b4a-a98e-0f63f3c24387</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>d198bb25-bb89-4742-9852-3077892f583c</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>077f3ab8-ed19-44c7-ac4c-5865b577392f</d2p1:guid>
<d2p1:guid>51391661-9394-4fb4-9942-e21b2cbeeeea</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": "227039dc-f9e0-4b7a-8a89-c38eb75f59c1",
"ClubId": "2e6cbdcd-6d21-4b1b-9a64-925833a21011",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "956dcadf-6690-4771-8eff-40b62662e523",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"29af1033-ea8d-4897-b15d-3497a219958e",
"2b30eaec-5a48-4e92-8bc4-b9cdc054a1d5"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-21T01:28:42.6081247+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "227039dc-f9e0-4b7a-8a89-c38eb75f59c1",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"227039dc-f9e0-4b7a-8a89-c38eb75f59c1","ClubId":"2e6cbdcd-6d21-4b1b-9a64-925833a21011","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"956dcadf-6690-4771-8eff-40b62662e523","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["29af1033-ea8d-4897-b15d-3497a219958e","2b30eaec-5a48-4e92-8bc4-b9cdc054a1d5"],"AccountState":7,"LastPasswordChangeOn":"2026-02-21T01:28:42.6081247+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"227039dc-f9e0-4b7a-8a89-c38eb75f59c1","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">227039dc-f9e0-4b7a-8a89-c38eb75f59c1</Id>
<AccountState>7</AccountState>
<ClubId>2e6cbdcd-6d21-4b1b-9a64-925833a21011</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-21T01:28:42.6081247+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>956dcadf-6690-4771-8eff-40b62662e523</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>227039dc-f9e0-4b7a-8a89-c38eb75f59c1</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>29af1033-ea8d-4897-b15d-3497a219958e</d2p1:guid>
<d2p1:guid>2b30eaec-5a48-4e92-8bc4-b9cdc054a1d5</d2p1:guid>
</UserRoleIds>
</UserDetails>