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": "169d5926-86cb-4aab-95ee-f4411ddcc6e9",
"ClubId": "4aa7cc04-63d3-404c-bea2-2b9ff515d19b",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "62af3185-98ed-44b0-9f8c-4e6b320dfb5a",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"cbda8f66-1a5f-4db4-bac1-c246c3e2f288",
"1cd75d09-f3de-4eeb-b312-402563fd5de0"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-09T13:13:50.0367737+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "169d5926-86cb-4aab-95ee-f4411ddcc6e9",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"169d5926-86cb-4aab-95ee-f4411ddcc6e9","ClubId":"4aa7cc04-63d3-404c-bea2-2b9ff515d19b","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"62af3185-98ed-44b0-9f8c-4e6b320dfb5a","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["cbda8f66-1a5f-4db4-bac1-c246c3e2f288","1cd75d09-f3de-4eeb-b312-402563fd5de0"],"AccountState":7,"LastPasswordChangeOn":"2026-02-09T13:13:50.0367737+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"169d5926-86cb-4aab-95ee-f4411ddcc6e9","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">169d5926-86cb-4aab-95ee-f4411ddcc6e9</Id>
<AccountState>7</AccountState>
<ClubId>4aa7cc04-63d3-404c-bea2-2b9ff515d19b</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-09T13:13:50.0367737+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>62af3185-98ed-44b0-9f8c-4e6b320dfb5a</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>169d5926-86cb-4aab-95ee-f4411ddcc6e9</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>cbda8f66-1a5f-4db4-bac1-c246c3e2f288</d2p1:guid>
<d2p1:guid>1cd75d09-f3de-4eeb-b312-402563fd5de0</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": "144ff3ed-a029-466f-875e-566979360e04",
"ClubId": "906b94b4-d318-41d3-ad66-3a5f96b6522c",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "1bbd803f-03d7-4460-ab35-20b4853a34ee",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"c7a8cbf3-245f-476e-8c6c-40d8f05d13d1",
"4ca74412-a3cc-46e7-8b3f-439c7d21b382"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-09T13:13:50.0367737+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "144ff3ed-a029-466f-875e-566979360e04",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"144ff3ed-a029-466f-875e-566979360e04","ClubId":"906b94b4-d318-41d3-ad66-3a5f96b6522c","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"1bbd803f-03d7-4460-ab35-20b4853a34ee","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["c7a8cbf3-245f-476e-8c6c-40d8f05d13d1","4ca74412-a3cc-46e7-8b3f-439c7d21b382"],"AccountState":7,"LastPasswordChangeOn":"2026-02-09T13:13:50.0367737+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"144ff3ed-a029-466f-875e-566979360e04","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">144ff3ed-a029-466f-875e-566979360e04</Id>
<AccountState>7</AccountState>
<ClubId>906b94b4-d318-41d3-ad66-3a5f96b6522c</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-09T13:13:50.0367737+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>1bbd803f-03d7-4460-ab35-20b4853a34ee</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>144ff3ed-a029-466f-875e-566979360e04</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c7a8cbf3-245f-476e-8c6c-40d8f05d13d1</d2p1:guid>
<d2p1:guid>4ca74412-a3cc-46e7-8b3f-439c7d21b382</d2p1:guid>
</UserRoleIds>
</UserDetails>