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": "fbb329d3-4382-423a-b49e-18ec023a934e",
"ClubId": "ba129407-cafc-49cd-8b12-671a362ea66f",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "e1829206-fc53-4fbf-aecb-80d095a41573",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"c3bccd9e-7f18-4ee8-b7dc-a7b1816cd629",
"e67b083c-2473-4ed7-b372-db933bb6df60"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-01T09:36:41.6438982+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "fbb329d3-4382-423a-b49e-18ec023a934e",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"fbb329d3-4382-423a-b49e-18ec023a934e","ClubId":"ba129407-cafc-49cd-8b12-671a362ea66f","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"e1829206-fc53-4fbf-aecb-80d095a41573","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["c3bccd9e-7f18-4ee8-b7dc-a7b1816cd629","e67b083c-2473-4ed7-b372-db933bb6df60"],"AccountState":7,"LastPasswordChangeOn":"2026-02-01T09:36:41.6438982+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"fbb329d3-4382-423a-b49e-18ec023a934e","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">fbb329d3-4382-423a-b49e-18ec023a934e</Id>
<AccountState>7</AccountState>
<ClubId>ba129407-cafc-49cd-8b12-671a362ea66f</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-01T09:36:41.6438982+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>e1829206-fc53-4fbf-aecb-80d095a41573</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>fbb329d3-4382-423a-b49e-18ec023a934e</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c3bccd9e-7f18-4ee8-b7dc-a7b1816cd629</d2p1:guid>
<d2p1:guid>e67b083c-2473-4ed7-b372-db933bb6df60</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": "07f022ab-7f74-476c-ba4f-ecfae5417f38",
"ClubId": "35e0b530-51a1-4c01-8f8c-79d930a52cd8",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "322d4359-76cf-4998-9136-4714e000f366",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"aafd05ab-3886-41f3-ad28-20c4ee8087b3",
"27bbe15f-4bab-4331-b119-ea425f3d8860"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-01T09:36:41.6595229+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "07f022ab-7f74-476c-ba4f-ecfae5417f38",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"07f022ab-7f74-476c-ba4f-ecfae5417f38","ClubId":"35e0b530-51a1-4c01-8f8c-79d930a52cd8","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"322d4359-76cf-4998-9136-4714e000f366","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["aafd05ab-3886-41f3-ad28-20c4ee8087b3","27bbe15f-4bab-4331-b119-ea425f3d8860"],"AccountState":7,"LastPasswordChangeOn":"2026-02-01T09:36:41.6595229+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"07f022ab-7f74-476c-ba4f-ecfae5417f38","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">07f022ab-7f74-476c-ba4f-ecfae5417f38</Id>
<AccountState>7</AccountState>
<ClubId>35e0b530-51a1-4c01-8f8c-79d930a52cd8</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-01T09:36:41.6595229+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>322d4359-76cf-4998-9136-4714e000f366</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>07f022ab-7f74-476c-ba4f-ecfae5417f38</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>aafd05ab-3886-41f3-ad28-20c4ee8087b3</d2p1:guid>
<d2p1:guid>27bbe15f-4bab-4331-b119-ea425f3d8860</d2p1:guid>
</UserRoleIds>
</UserDetails>