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": "40015c66-2152-4c99-b198-d70565ea210a",
"ClubId": "e58b6f21-e265-4f78-9dc7-45ea281a9a00",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "f9d61900-3062-4639-b2b8-2445543806ef",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"d957cc1c-fac7-49de-a26f-316b71a325c8",
"27edcf1f-0328-4233-90d6-e5c683599e79"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-23T10:53:36.1816253+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "40015c66-2152-4c99-b198-d70565ea210a",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"40015c66-2152-4c99-b198-d70565ea210a","ClubId":"e58b6f21-e265-4f78-9dc7-45ea281a9a00","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"f9d61900-3062-4639-b2b8-2445543806ef","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["d957cc1c-fac7-49de-a26f-316b71a325c8","27edcf1f-0328-4233-90d6-e5c683599e79"],"AccountState":7,"LastPasswordChangeOn":"2025-12-23T10:53:36.1816253+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"40015c66-2152-4c99-b198-d70565ea210a","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">40015c66-2152-4c99-b198-d70565ea210a</Id>
<AccountState>7</AccountState>
<ClubId>e58b6f21-e265-4f78-9dc7-45ea281a9a00</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-23T10:53:36.1816253+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>f9d61900-3062-4639-b2b8-2445543806ef</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>40015c66-2152-4c99-b198-d70565ea210a</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d957cc1c-fac7-49de-a26f-316b71a325c8</d2p1:guid>
<d2p1:guid>27edcf1f-0328-4233-90d6-e5c683599e79</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": "4fbcf7af-a87c-4885-a038-637362735e1f",
"ClubId": "908cc259-593c-4aa2-8693-8bfb2a5c2108",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "b5c2046e-2226-467d-b059-df55b2a723f5",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"447197ee-c3b0-4d3e-aa35-eccb0a5afe91",
"ff53db43-6e24-4624-9fab-64d89811a530"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-23T10:53:36.3066163+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "4fbcf7af-a87c-4885-a038-637362735e1f",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"4fbcf7af-a87c-4885-a038-637362735e1f","ClubId":"908cc259-593c-4aa2-8693-8bfb2a5c2108","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"b5c2046e-2226-467d-b059-df55b2a723f5","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["447197ee-c3b0-4d3e-aa35-eccb0a5afe91","ff53db43-6e24-4624-9fab-64d89811a530"],"AccountState":7,"LastPasswordChangeOn":"2025-12-23T10:53:36.3066163+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"4fbcf7af-a87c-4885-a038-637362735e1f","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">4fbcf7af-a87c-4885-a038-637362735e1f</Id>
<AccountState>7</AccountState>
<ClubId>908cc259-593c-4aa2-8693-8bfb2a5c2108</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-23T10:53:36.3066163+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>b5c2046e-2226-467d-b059-df55b2a723f5</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>4fbcf7af-a87c-4885-a038-637362735e1f</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>447197ee-c3b0-4d3e-aa35-eccb0a5afe91</d2p1:guid>
<d2p1:guid>ff53db43-6e24-4624-9fab-64d89811a530</d2p1:guid>
</UserRoleIds>
</UserDetails>