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": "d56e9909-7125-4d4a-b23d-3035edb19f8d",
"ClubId": "4d502db7-f313-43a0-aac9-3c856a104474",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "08878364-c699-4d02-ac92-46d5fa4aaa44",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"82ec3c57-63ee-4441-a2c9-987e0bc6a241",
"ccd978be-6ee2-400d-9c98-68acea6b32ca"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-05-05T08:33:35.2244544+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "d56e9909-7125-4d4a-b23d-3035edb19f8d",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"d56e9909-7125-4d4a-b23d-3035edb19f8d","ClubId":"4d502db7-f313-43a0-aac9-3c856a104474","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"08878364-c699-4d02-ac92-46d5fa4aaa44","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["82ec3c57-63ee-4441-a2c9-987e0bc6a241","ccd978be-6ee2-400d-9c98-68acea6b32ca"],"AccountState":7,"LastPasswordChangeOn":"2026-05-05T08:33:35.2244544+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"d56e9909-7125-4d4a-b23d-3035edb19f8d","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">d56e9909-7125-4d4a-b23d-3035edb19f8d</Id>
<AccountState>7</AccountState>
<ClubId>4d502db7-f313-43a0-aac9-3c856a104474</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-05-05T08:33:35.2244544+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>08878364-c699-4d02-ac92-46d5fa4aaa44</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>d56e9909-7125-4d4a-b23d-3035edb19f8d</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>82ec3c57-63ee-4441-a2c9-987e0bc6a241</d2p1:guid>
<d2p1:guid>ccd978be-6ee2-400d-9c98-68acea6b32ca</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": "163cb4f7-3735-4bbf-b303-54adb8e94279",
"ClubId": "d0b643aa-1096-427e-bd3a-700a53704966",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "9588612f-1aaf-4410-9204-1087073f8516",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"3198f27c-5f0f-457d-b420-d674e8354002",
"3b489653-278e-4898-a825-f5c7f9314178"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-05-05T08:33:35.2244544+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "163cb4f7-3735-4bbf-b303-54adb8e94279",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"163cb4f7-3735-4bbf-b303-54adb8e94279","ClubId":"d0b643aa-1096-427e-bd3a-700a53704966","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"9588612f-1aaf-4410-9204-1087073f8516","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["3198f27c-5f0f-457d-b420-d674e8354002","3b489653-278e-4898-a825-f5c7f9314178"],"AccountState":7,"LastPasswordChangeOn":"2026-05-05T08:33:35.2244544+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"163cb4f7-3735-4bbf-b303-54adb8e94279","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">163cb4f7-3735-4bbf-b303-54adb8e94279</Id>
<AccountState>7</AccountState>
<ClubId>d0b643aa-1096-427e-bd3a-700a53704966</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-05-05T08:33:35.2244544+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>9588612f-1aaf-4410-9204-1087073f8516</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>163cb4f7-3735-4bbf-b303-54adb8e94279</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>3198f27c-5f0f-457d-b420-d674e8354002</d2p1:guid>
<d2p1:guid>3b489653-278e-4898-a825-f5c7f9314178</d2p1:guid>
</UserRoleIds>
</UserDetails>