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": "c25da881-a57b-4d80-9dec-a1064605489b",
"ClubId": "19f262a2-30e1-4437-8a1f-9c9ae0c52e27",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "0fd0613d-6c65-4400-9a5c-85da27c2f038",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"082b4e1a-8eaa-4bc8-beea-8b4cf7a322aa",
"1c27c12b-4a75-4db0-925e-9508fde9f3e8"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-05-01T09:11:43.8179867+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "c25da881-a57b-4d80-9dec-a1064605489b",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"c25da881-a57b-4d80-9dec-a1064605489b","ClubId":"19f262a2-30e1-4437-8a1f-9c9ae0c52e27","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"0fd0613d-6c65-4400-9a5c-85da27c2f038","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["082b4e1a-8eaa-4bc8-beea-8b4cf7a322aa","1c27c12b-4a75-4db0-925e-9508fde9f3e8"],"AccountState":7,"LastPasswordChangeOn":"2026-05-01T09:11:43.8179867+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"c25da881-a57b-4d80-9dec-a1064605489b","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">c25da881-a57b-4d80-9dec-a1064605489b</Id>
<AccountState>7</AccountState>
<ClubId>19f262a2-30e1-4437-8a1f-9c9ae0c52e27</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-05-01T09:11:43.8179867+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>0fd0613d-6c65-4400-9a5c-85da27c2f038</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>c25da881-a57b-4d80-9dec-a1064605489b</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>082b4e1a-8eaa-4bc8-beea-8b4cf7a322aa</d2p1:guid>
<d2p1:guid>1c27c12b-4a75-4db0-925e-9508fde9f3e8</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": "9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7",
"ClubId": "dee6ea16-a63d-4fe8-bf7a-973a932ba9bf",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "e0c505a5-cd6a-4d48-9b91-05675fd3cc83",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"b371e989-29e9-4c78-94d6-b36d4075be20",
"df59ca13-4caa-43be-9584-b984791c0b8e"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-05-01T09:11:43.8336087+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7","ClubId":"dee6ea16-a63d-4fe8-bf7a-973a932ba9bf","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"e0c505a5-cd6a-4d48-9b91-05675fd3cc83","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["b371e989-29e9-4c78-94d6-b36d4075be20","df59ca13-4caa-43be-9584-b984791c0b8e"],"AccountState":7,"LastPasswordChangeOn":"2026-05-01T09:11:43.8336087+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7","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">9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7</Id>
<AccountState>7</AccountState>
<ClubId>dee6ea16-a63d-4fe8-bf7a-973a932ba9bf</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-05-01T09:11:43.8336087+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>e0c505a5-cd6a-4d48-9b91-05675fd3cc83</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>9e4980c0-16c3-4713-b0b1-3f7cd2ed7cf7</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>b371e989-29e9-4c78-94d6-b36d4075be20</d2p1:guid>
<d2p1:guid>df59ca13-4caa-43be-9584-b984791c0b8e</d2p1:guid>
</UserRoleIds>
</UserDetails>