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": "fb2d4e31-08c6-4a21-ae15-5cdb8c655a42",
"ClubId": "283f18ad-9e41-4eb3-ac3d-e8e7ab0321db",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "b1a5977d-9eb9-4d66-a088-a59aedb55d17",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"f249b40f-bb6c-4172-8513-bc5bf75ccedd",
"7c5a6895-0c11-4c8e-bc9e-951d4bb4ed2a"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-04-09T09:32:34.8926161+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "fb2d4e31-08c6-4a21-ae15-5cdb8c655a42",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"fb2d4e31-08c6-4a21-ae15-5cdb8c655a42","ClubId":"283f18ad-9e41-4eb3-ac3d-e8e7ab0321db","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"b1a5977d-9eb9-4d66-a088-a59aedb55d17","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["f249b40f-bb6c-4172-8513-bc5bf75ccedd","7c5a6895-0c11-4c8e-bc9e-951d4bb4ed2a"],"AccountState":7,"LastPasswordChangeOn":"2026-04-09T09:32:34.8926161+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"fb2d4e31-08c6-4a21-ae15-5cdb8c655a42","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">fb2d4e31-08c6-4a21-ae15-5cdb8c655a42</Id>
<AccountState>7</AccountState>
<ClubId>283f18ad-9e41-4eb3-ac3d-e8e7ab0321db</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-04-09T09:32:34.8926161+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>b1a5977d-9eb9-4d66-a088-a59aedb55d17</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>fb2d4e31-08c6-4a21-ae15-5cdb8c655a42</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f249b40f-bb6c-4172-8513-bc5bf75ccedd</d2p1:guid>
<d2p1:guid>7c5a6895-0c11-4c8e-bc9e-951d4bb4ed2a</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": "f86da0b7-6c87-488c-aade-26c31afdb960",
"ClubId": "2f3d36b5-e4c4-4c10-8ae4-38db5f4eae26",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "badadfa5-e221-4158-b75c-7a3390c0a773",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"8508966a-d39f-4472-a5b9-c0f4a34d66c4",
"3d0dbebc-00eb-436d-90d2-66d2604e9fae"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-04-09T09:32:34.9082383+02:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "f86da0b7-6c87-488c-aade-26c31afdb960",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"f86da0b7-6c87-488c-aade-26c31afdb960","ClubId":"2f3d36b5-e4c4-4c10-8ae4-38db5f4eae26","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"badadfa5-e221-4158-b75c-7a3390c0a773","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["8508966a-d39f-4472-a5b9-c0f4a34d66c4","3d0dbebc-00eb-436d-90d2-66d2604e9fae"],"AccountState":7,"LastPasswordChangeOn":"2026-04-09T09:32:34.9082383+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"f86da0b7-6c87-488c-aade-26c31afdb960","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">f86da0b7-6c87-488c-aade-26c31afdb960</Id>
<AccountState>7</AccountState>
<ClubId>2f3d36b5-e4c4-4c10-8ae4-38db5f4eae26</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-04-09T09:32:34.9082383+02:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>badadfa5-e221-4158-b75c-7a3390c0a773</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>f86da0b7-6c87-488c-aade-26c31afdb960</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8508966a-d39f-4472-a5b9-c0f4a34d66c4</d2p1:guid>
<d2p1:guid>3d0dbebc-00eb-436d-90d2-66d2604e9fae</d2p1:guid>
</UserRoleIds>
</UserDetails>