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": "80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8",
"ClubId": "9e6e6648-e3af-4349-8e81-ec042ebe3597",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "30739695-f6d2-40a6-ba1e-4a13de723545",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"726f3ba8-fc18-4fb2-86aa-81c6d81c9e4f",
"55de999a-3f6d-482e-b8d2-744b62361f77"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-16T08:30:16.9219817+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8","ClubId":"9e6e6648-e3af-4349-8e81-ec042ebe3597","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"30739695-f6d2-40a6-ba1e-4a13de723545","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["726f3ba8-fc18-4fb2-86aa-81c6d81c9e4f","55de999a-3f6d-482e-b8d2-744b62361f77"],"AccountState":7,"LastPasswordChangeOn":"2025-12-16T08:30:16.9219817+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8","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">80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8</Id>
<AccountState>7</AccountState>
<ClubId>9e6e6648-e3af-4349-8e81-ec042ebe3597</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-16T08:30:16.9219817+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>30739695-f6d2-40a6-ba1e-4a13de723545</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>80c6d3dc-5730-4a2d-86b7-ab56b45fbdb8</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>726f3ba8-fc18-4fb2-86aa-81c6d81c9e4f</d2p1:guid>
<d2p1:guid>55de999a-3f6d-482e-b8d2-744b62361f77</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": "839cad2c-8a99-417d-ae83-1df28ec05abf",
"ClubId": "559931ee-6ebc-4d3c-8847-988dda5c557e",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "eb520275-61ad-4376-a482-41c718d8bd5a",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"2943b19d-0575-4da1-93fe-70973f20d468",
"cfa166a9-e3ad-4f2a-bf1a-4c3f6b202d68"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-16T08:30:16.937598+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "839cad2c-8a99-417d-ae83-1df28ec05abf",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"839cad2c-8a99-417d-ae83-1df28ec05abf","ClubId":"559931ee-6ebc-4d3c-8847-988dda5c557e","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"eb520275-61ad-4376-a482-41c718d8bd5a","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["2943b19d-0575-4da1-93fe-70973f20d468","cfa166a9-e3ad-4f2a-bf1a-4c3f6b202d68"],"AccountState":7,"LastPasswordChangeOn":"2025-12-16T08:30:16.937598+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"839cad2c-8a99-417d-ae83-1df28ec05abf","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">839cad2c-8a99-417d-ae83-1df28ec05abf</Id>
<AccountState>7</AccountState>
<ClubId>559931ee-6ebc-4d3c-8847-988dda5c557e</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-16T08:30:16.937598+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>eb520275-61ad-4376-a482-41c718d8bd5a</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>839cad2c-8a99-417d-ae83-1df28ec05abf</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2943b19d-0575-4da1-93fe-70973f20d468</d2p1:guid>
<d2p1:guid>cfa166a9-e3ad-4f2a-bf1a-4c3f6b202d68</d2p1:guid>
</UserRoleIds>
</UserDetails>