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": "522feb68-a0b0-4bc8-8392-4beebba1dbc2",
"ClubId": "4fa3cecb-a07f-4143-812a-c677cb3cd1ef",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "23c126f9-b10f-4228-9785-43830d849f88",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"07fa7a87-0c0e-4ac4-a7ad-ff104c703016",
"5ee1f8c8-283a-46f5-8ffc-34d197c891c2"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-13T01:09:17.0118703+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "522feb68-a0b0-4bc8-8392-4beebba1dbc2",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"522feb68-a0b0-4bc8-8392-4beebba1dbc2","ClubId":"4fa3cecb-a07f-4143-812a-c677cb3cd1ef","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"23c126f9-b10f-4228-9785-43830d849f88","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["07fa7a87-0c0e-4ac4-a7ad-ff104c703016","5ee1f8c8-283a-46f5-8ffc-34d197c891c2"],"AccountState":7,"LastPasswordChangeOn":"2025-12-13T01:09:17.0118703+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"522feb68-a0b0-4bc8-8392-4beebba1dbc2","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">522feb68-a0b0-4bc8-8392-4beebba1dbc2</Id>
<AccountState>7</AccountState>
<ClubId>4fa3cecb-a07f-4143-812a-c677cb3cd1ef</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-13T01:09:17.0118703+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>23c126f9-b10f-4228-9785-43830d849f88</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>522feb68-a0b0-4bc8-8392-4beebba1dbc2</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>07fa7a87-0c0e-4ac4-a7ad-ff104c703016</d2p1:guid>
<d2p1:guid>5ee1f8c8-283a-46f5-8ffc-34d197c891c2</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": "26ad1bea-39ec-4e2b-b9ac-b50221b6637d",
"ClubId": "9c362da9-376c-4f38-89ae-77619916b5c9",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "0e9d4907-5ebe-4f69-b103-d029dad5ec8a",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"d62a2357-1b5d-4953-823b-9ff11a109e93",
"88e8058c-bb7b-4576-9e7c-f8e810048942"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-13T01:09:17.0118703+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "26ad1bea-39ec-4e2b-b9ac-b50221b6637d",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"26ad1bea-39ec-4e2b-b9ac-b50221b6637d","ClubId":"9c362da9-376c-4f38-89ae-77619916b5c9","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"0e9d4907-5ebe-4f69-b103-d029dad5ec8a","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["d62a2357-1b5d-4953-823b-9ff11a109e93","88e8058c-bb7b-4576-9e7c-f8e810048942"],"AccountState":7,"LastPasswordChangeOn":"2025-12-13T01:09:17.0118703+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"26ad1bea-39ec-4e2b-b9ac-b50221b6637d","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">26ad1bea-39ec-4e2b-b9ac-b50221b6637d</Id>
<AccountState>7</AccountState>
<ClubId>9c362da9-376c-4f38-89ae-77619916b5c9</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-13T01:09:17.0118703+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>0e9d4907-5ebe-4f69-b103-d029dad5ec8a</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>26ad1bea-39ec-4e2b-b9ac-b50221b6637d</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d62a2357-1b5d-4953-823b-9ff11a109e93</d2p1:guid>
<d2p1:guid>88e8058c-bb7b-4576-9e7c-f8e810048942</d2p1:guid>
</UserRoleIds>
</UserDetails>