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": "40dcfe67-dfcc-4328-a964-81a1c73735c5",
"ClubId": "493651a7-f863-4208-b9f1-24ebfb14dcf6",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "6f5b3da4-f488-4e93-8001-dee700778753",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"742e1adf-f54a-4a5f-b07e-2dbdc854034a",
"ecb3ac8a-e17b-4287-a81e-164b2e6a1652"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-11-17T17:54:27.5440574+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "40dcfe67-dfcc-4328-a964-81a1c73735c5",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"40dcfe67-dfcc-4328-a964-81a1c73735c5","ClubId":"493651a7-f863-4208-b9f1-24ebfb14dcf6","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"6f5b3da4-f488-4e93-8001-dee700778753","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["742e1adf-f54a-4a5f-b07e-2dbdc854034a","ecb3ac8a-e17b-4287-a81e-164b2e6a1652"],"AccountState":7,"LastPasswordChangeOn":"2025-11-17T17:54:27.5440574+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"40dcfe67-dfcc-4328-a964-81a1c73735c5","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">40dcfe67-dfcc-4328-a964-81a1c73735c5</Id>
<AccountState>7</AccountState>
<ClubId>493651a7-f863-4208-b9f1-24ebfb14dcf6</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-11-17T17:54:27.5440574+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>6f5b3da4-f488-4e93-8001-dee700778753</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>40dcfe67-dfcc-4328-a964-81a1c73735c5</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>742e1adf-f54a-4a5f-b07e-2dbdc854034a</d2p1:guid>
<d2p1:guid>ecb3ac8a-e17b-4287-a81e-164b2e6a1652</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": "f2f6debc-b409-46af-a924-cbbef252b5a4",
"ClubId": "6dc0df37-c8fa-406d-8572-9e18039c17b5",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "4fa1cf7a-7698-43fc-9b11-69538e0dbbb1",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"dc826da9-bb69-4df7-8eec-d22e07ddb1ff",
"f42ace9e-553c-44b7-98cd-a3ff40c5df43"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-11-17T17:54:27.5440574+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "f2f6debc-b409-46af-a924-cbbef252b5a4",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"f2f6debc-b409-46af-a924-cbbef252b5a4","ClubId":"6dc0df37-c8fa-406d-8572-9e18039c17b5","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"4fa1cf7a-7698-43fc-9b11-69538e0dbbb1","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["dc826da9-bb69-4df7-8eec-d22e07ddb1ff","f42ace9e-553c-44b7-98cd-a3ff40c5df43"],"AccountState":7,"LastPasswordChangeOn":"2025-11-17T17:54:27.5440574+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"f2f6debc-b409-46af-a924-cbbef252b5a4","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">f2f6debc-b409-46af-a924-cbbef252b5a4</Id>
<AccountState>7</AccountState>
<ClubId>6dc0df37-c8fa-406d-8572-9e18039c17b5</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-11-17T17:54:27.5440574+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>4fa1cf7a-7698-43fc-9b11-69538e0dbbb1</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>f2f6debc-b409-46af-a924-cbbef252b5a4</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>dc826da9-bb69-4df7-8eec-d22e07ddb1ff</d2p1:guid>
<d2p1:guid>f42ace9e-553c-44b7-98cd-a3ff40c5df43</d2p1:guid>
</UserRoleIds>
</UserDetails>