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": "a8749750-58b2-49aa-9142-c30654eb67b6",
"ClubId": "4a03f5e2-a484-4bd9-86f2-d3368febc778",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "315a8ac0-93d7-43ed-a5f2-245779f151f3",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"1738d3a7-87b5-408e-b666-524ba6bdc637",
"a1979b3d-2182-4693-b11a-a193eafcf716"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-15T01:35:46.4117713+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "a8749750-58b2-49aa-9142-c30654eb67b6",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"a8749750-58b2-49aa-9142-c30654eb67b6","ClubId":"4a03f5e2-a484-4bd9-86f2-d3368febc778","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"315a8ac0-93d7-43ed-a5f2-245779f151f3","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["1738d3a7-87b5-408e-b666-524ba6bdc637","a1979b3d-2182-4693-b11a-a193eafcf716"],"AccountState":7,"LastPasswordChangeOn":"2026-02-15T01:35:46.4117713+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"a8749750-58b2-49aa-9142-c30654eb67b6","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">a8749750-58b2-49aa-9142-c30654eb67b6</Id>
<AccountState>7</AccountState>
<ClubId>4a03f5e2-a484-4bd9-86f2-d3368febc778</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-15T01:35:46.4117713+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>315a8ac0-93d7-43ed-a5f2-245779f151f3</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>a8749750-58b2-49aa-9142-c30654eb67b6</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1738d3a7-87b5-408e-b666-524ba6bdc637</d2p1:guid>
<d2p1:guid>a1979b3d-2182-4693-b11a-a193eafcf716</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": "166187c9-ae9d-448a-ae90-bc5d2c5b14f0",
"ClubId": "521c86c9-2a84-4ce2-b30d-92fb737b0a18",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "117bcb6c-0f13-497b-af7f-b5048b7b5e8d",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"70117126-0936-4267-8d14-023d4be46df2",
"db8c9b41-5db4-419f-a8b2-c8f477685426"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-15T01:35:46.4117713+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "166187c9-ae9d-448a-ae90-bc5d2c5b14f0",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"166187c9-ae9d-448a-ae90-bc5d2c5b14f0","ClubId":"521c86c9-2a84-4ce2-b30d-92fb737b0a18","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"117bcb6c-0f13-497b-af7f-b5048b7b5e8d","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["70117126-0936-4267-8d14-023d4be46df2","db8c9b41-5db4-419f-a8b2-c8f477685426"],"AccountState":7,"LastPasswordChangeOn":"2026-02-15T01:35:46.4117713+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"166187c9-ae9d-448a-ae90-bc5d2c5b14f0","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">166187c9-ae9d-448a-ae90-bc5d2c5b14f0</Id>
<AccountState>7</AccountState>
<ClubId>521c86c9-2a84-4ce2-b30d-92fb737b0a18</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-15T01:35:46.4117713+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>117bcb6c-0f13-497b-af7f-b5048b7b5e8d</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>166187c9-ae9d-448a-ae90-bc5d2c5b14f0</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>70117126-0936-4267-8d14-023d4be46df2</d2p1:guid>
<d2p1:guid>db8c9b41-5db4-419f-a8b2-c8f477685426</d2p1:guid>
</UserRoleIds>
</UserDetails>