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": "9b8ae920-8584-4c7e-882d-c4acb06971ed",
"ClubId": "91e656ad-4fb2-41f4-8ef1-e932e40f09ab",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "f016672a-f6e1-42e9-86fc-981ecf36b270",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"9ea7bceb-7b39-42a4-99fd-e13e2475c0eb",
"8781a469-4dd2-42a9-865f-fa638a505fc0"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-07T02:40:48.5375529+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "9b8ae920-8584-4c7e-882d-c4acb06971ed",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"9b8ae920-8584-4c7e-882d-c4acb06971ed","ClubId":"91e656ad-4fb2-41f4-8ef1-e932e40f09ab","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"f016672a-f6e1-42e9-86fc-981ecf36b270","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["9ea7bceb-7b39-42a4-99fd-e13e2475c0eb","8781a469-4dd2-42a9-865f-fa638a505fc0"],"AccountState":7,"LastPasswordChangeOn":"2026-01-07T02:40:48.5375529+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"9b8ae920-8584-4c7e-882d-c4acb06971ed","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">9b8ae920-8584-4c7e-882d-c4acb06971ed</Id>
<AccountState>7</AccountState>
<ClubId>91e656ad-4fb2-41f4-8ef1-e932e40f09ab</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-07T02:40:48.5375529+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>f016672a-f6e1-42e9-86fc-981ecf36b270</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>9b8ae920-8584-4c7e-882d-c4acb06971ed</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9ea7bceb-7b39-42a4-99fd-e13e2475c0eb</d2p1:guid>
<d2p1:guid>8781a469-4dd2-42a9-865f-fa638a505fc0</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": "3af69fcf-7660-4b75-b423-1c532b673c87",
"ClubId": "73393ca3-c7fc-4d51-b3f2-783c74a30653",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "6035702c-86b9-40a6-9f3b-7783fbaef635",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"ca9caaee-cb1c-4e6a-aa49-d7b068b7cc73",
"9af15a45-5a31-4574-bb2b-549f012c4ac4"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-07T02:40:48.5375529+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "3af69fcf-7660-4b75-b423-1c532b673c87",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"3af69fcf-7660-4b75-b423-1c532b673c87","ClubId":"73393ca3-c7fc-4d51-b3f2-783c74a30653","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"6035702c-86b9-40a6-9f3b-7783fbaef635","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["ca9caaee-cb1c-4e6a-aa49-d7b068b7cc73","9af15a45-5a31-4574-bb2b-549f012c4ac4"],"AccountState":7,"LastPasswordChangeOn":"2026-01-07T02:40:48.5375529+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"3af69fcf-7660-4b75-b423-1c532b673c87","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">3af69fcf-7660-4b75-b423-1c532b673c87</Id>
<AccountState>7</AccountState>
<ClubId>73393ca3-c7fc-4d51-b3f2-783c74a30653</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-07T02:40:48.5375529+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>6035702c-86b9-40a6-9f3b-7783fbaef635</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>3af69fcf-7660-4b75-b423-1c532b673c87</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ca9caaee-cb1c-4e6a-aa49-d7b068b7cc73</d2p1:guid>
<d2p1:guid>9af15a45-5a31-4574-bb2b-549f012c4ac4</d2p1:guid>
</UserRoleIds>
</UserDetails>