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": "1c2914d0-8605-4f2f-b8a6-93e51af86b51",
"ClubId": "4d1c6f5f-4d39-4860-8b6f-87f38b8dcfca",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "0ac0b4c8-9f18-4199-abe7-1e1517bc4e4b",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"3ef58f86-0062-449b-a28c-86cee97ec7f9",
"1a90597d-8442-4fa1-afad-371756f012cd"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-01T14:23:48.7944894+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "1c2914d0-8605-4f2f-b8a6-93e51af86b51",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"1c2914d0-8605-4f2f-b8a6-93e51af86b51","ClubId":"4d1c6f5f-4d39-4860-8b6f-87f38b8dcfca","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"0ac0b4c8-9f18-4199-abe7-1e1517bc4e4b","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["3ef58f86-0062-449b-a28c-86cee97ec7f9","1a90597d-8442-4fa1-afad-371756f012cd"],"AccountState":7,"LastPasswordChangeOn":"2026-01-01T14:23:48.7944894+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"1c2914d0-8605-4f2f-b8a6-93e51af86b51","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">1c2914d0-8605-4f2f-b8a6-93e51af86b51</Id>
<AccountState>7</AccountState>
<ClubId>4d1c6f5f-4d39-4860-8b6f-87f38b8dcfca</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-01T14:23:48.7944894+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>0ac0b4c8-9f18-4199-abe7-1e1517bc4e4b</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>1c2914d0-8605-4f2f-b8a6-93e51af86b51</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>3ef58f86-0062-449b-a28c-86cee97ec7f9</d2p1:guid>
<d2p1:guid>1a90597d-8442-4fa1-afad-371756f012cd</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": "a9f94dc0-19f3-4154-8cfc-217de78a0d20",
"ClubId": "fb17e97b-fe80-4fd7-8b56-cf4a921a2e76",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "075c2af3-dcd3-4f6b-b194-f5f081d6c7b5",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"9be353b5-89cd-443d-9560-2ac7c7b6abbf",
"04ac2ed4-2e72-4ee7-bad9-525cab66c0c9"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-01T14:23:48.7944894+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "a9f94dc0-19f3-4154-8cfc-217de78a0d20",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"a9f94dc0-19f3-4154-8cfc-217de78a0d20","ClubId":"fb17e97b-fe80-4fd7-8b56-cf4a921a2e76","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"075c2af3-dcd3-4f6b-b194-f5f081d6c7b5","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["9be353b5-89cd-443d-9560-2ac7c7b6abbf","04ac2ed4-2e72-4ee7-bad9-525cab66c0c9"],"AccountState":7,"LastPasswordChangeOn":"2026-01-01T14:23:48.7944894+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"a9f94dc0-19f3-4154-8cfc-217de78a0d20","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">a9f94dc0-19f3-4154-8cfc-217de78a0d20</Id>
<AccountState>7</AccountState>
<ClubId>fb17e97b-fe80-4fd7-8b56-cf4a921a2e76</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-01T14:23:48.7944894+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>075c2af3-dcd3-4f6b-b194-f5f081d6c7b5</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>a9f94dc0-19f3-4154-8cfc-217de78a0d20</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9be353b5-89cd-443d-9560-2ac7c7b6abbf</d2p1:guid>
<d2p1:guid>04ac2ed4-2e72-4ee7-bad9-525cab66c0c9</d2p1:guid>
</UserRoleIds>
</UserDetails>