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": "21f9082b-fa7c-4e04-9c86-45f6d9fe8838",
"ClubId": "696c5327-75a7-4191-9290-41efd8987842",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "ef159fb7-130f-47b7-9773-bed8229645ec",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"912a26f0-e98f-4107-8da4-218b4f04dcde",
"56ef6b60-8e9f-4b14-8662-3bc19a8fb0e5"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-16T10:28:16.1684931+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "21f9082b-fa7c-4e04-9c86-45f6d9fe8838",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"21f9082b-fa7c-4e04-9c86-45f6d9fe8838","ClubId":"696c5327-75a7-4191-9290-41efd8987842","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"ef159fb7-130f-47b7-9773-bed8229645ec","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["912a26f0-e98f-4107-8da4-218b4f04dcde","56ef6b60-8e9f-4b14-8662-3bc19a8fb0e5"],"AccountState":7,"LastPasswordChangeOn":"2026-01-16T10:28:16.1684931+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"21f9082b-fa7c-4e04-9c86-45f6d9fe8838","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">21f9082b-fa7c-4e04-9c86-45f6d9fe8838</Id>
<AccountState>7</AccountState>
<ClubId>696c5327-75a7-4191-9290-41efd8987842</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-16T10:28:16.1684931+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>ef159fb7-130f-47b7-9773-bed8229645ec</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>21f9082b-fa7c-4e04-9c86-45f6d9fe8838</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>912a26f0-e98f-4107-8da4-218b4f04dcde</d2p1:guid>
<d2p1:guid>56ef6b60-8e9f-4b14-8662-3bc19a8fb0e5</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": "d1ee7bd1-24dd-47a8-b077-59da9475e0bd",
"ClubId": "c6af1804-c9b3-45f9-b674-871acb631a15",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "a3c78a65-3a86-4cde-b6d7-1cfecf9f3485",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"557035dd-ec24-44b7-b6ed-c153f3d23f01",
"8e94dd57-d30f-49a7-ba18-82973dcf7f0d"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-16T10:28:16.1684931+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "d1ee7bd1-24dd-47a8-b077-59da9475e0bd",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"d1ee7bd1-24dd-47a8-b077-59da9475e0bd","ClubId":"c6af1804-c9b3-45f9-b674-871acb631a15","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"a3c78a65-3a86-4cde-b6d7-1cfecf9f3485","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["557035dd-ec24-44b7-b6ed-c153f3d23f01","8e94dd57-d30f-49a7-ba18-82973dcf7f0d"],"AccountState":7,"LastPasswordChangeOn":"2026-01-16T10:28:16.1684931+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"d1ee7bd1-24dd-47a8-b077-59da9475e0bd","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">d1ee7bd1-24dd-47a8-b077-59da9475e0bd</Id>
<AccountState>7</AccountState>
<ClubId>c6af1804-c9b3-45f9-b674-871acb631a15</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-16T10:28:16.1684931+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>a3c78a65-3a86-4cde-b6d7-1cfecf9f3485</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>d1ee7bd1-24dd-47a8-b077-59da9475e0bd</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>557035dd-ec24-44b7-b6ed-c153f3d23f01</d2p1:guid>
<d2p1:guid>8e94dd57-d30f-49a7-ba18-82973dcf7f0d</d2p1:guid>
</UserRoleIds>
</UserDetails>