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": "e2033a38-c8c2-45cd-ae7f-afab14a9ec95",
"ClubId": "26970078-3e33-4ccf-9e4b-54c4d3b5f096",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "2c6f5e62-f8c7-48d9-a5b2-b3eb0abc8f40",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"bfe84c92-7787-41cf-a479-33adc1e1aa0b",
"5e901b8c-2aed-4414-86ed-5f6d770421c4"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-20T13:38:27.3112447+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "e2033a38-c8c2-45cd-ae7f-afab14a9ec95",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"e2033a38-c8c2-45cd-ae7f-afab14a9ec95","ClubId":"26970078-3e33-4ccf-9e4b-54c4d3b5f096","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"2c6f5e62-f8c7-48d9-a5b2-b3eb0abc8f40","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["bfe84c92-7787-41cf-a479-33adc1e1aa0b","5e901b8c-2aed-4414-86ed-5f6d770421c4"],"AccountState":7,"LastPasswordChangeOn":"2026-02-20T13:38:27.3112447+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"e2033a38-c8c2-45cd-ae7f-afab14a9ec95","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">e2033a38-c8c2-45cd-ae7f-afab14a9ec95</Id>
<AccountState>7</AccountState>
<ClubId>26970078-3e33-4ccf-9e4b-54c4d3b5f096</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-20T13:38:27.3112447+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>2c6f5e62-f8c7-48d9-a5b2-b3eb0abc8f40</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>e2033a38-c8c2-45cd-ae7f-afab14a9ec95</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>bfe84c92-7787-41cf-a479-33adc1e1aa0b</d2p1:guid>
<d2p1:guid>5e901b8c-2aed-4414-86ed-5f6d770421c4</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": "94cb5531-18b9-4d67-967a-8115fc223797",
"ClubId": "1ecccee3-c72d-4316-8238-10495778ce09",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "3400fd74-010c-4db2-bfed-b7be0638b269",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"448be316-05db-4189-a0ec-20ef66220325",
"8837ed08-93fe-4087-8751-0d01d5dafc7d"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-20T13:38:27.3112447+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "94cb5531-18b9-4d67-967a-8115fc223797",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"94cb5531-18b9-4d67-967a-8115fc223797","ClubId":"1ecccee3-c72d-4316-8238-10495778ce09","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"3400fd74-010c-4db2-bfed-b7be0638b269","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["448be316-05db-4189-a0ec-20ef66220325","8837ed08-93fe-4087-8751-0d01d5dafc7d"],"AccountState":7,"LastPasswordChangeOn":"2026-02-20T13:38:27.3112447+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"94cb5531-18b9-4d67-967a-8115fc223797","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">94cb5531-18b9-4d67-967a-8115fc223797</Id>
<AccountState>7</AccountState>
<ClubId>1ecccee3-c72d-4316-8238-10495778ce09</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-20T13:38:27.3112447+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>3400fd74-010c-4db2-bfed-b7be0638b269</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>94cb5531-18b9-4d67-967a-8115fc223797</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>448be316-05db-4189-a0ec-20ef66220325</d2p1:guid>
<d2p1:guid>8837ed08-93fe-4087-8751-0d01d5dafc7d</d2p1:guid>
</UserRoleIds>
</UserDetails>