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": "0c404be2-711e-428b-b73a-e5ee8d69d7ea",
"ClubId": "0895bc2b-2031-4361-8c52-2b6500ca4cc1",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "75a903da-d7ee-4754-967f-82b0af5ce4ee",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"884214e8-52f6-4656-affc-1bf1a885763f",
"14fbef83-ecad-4472-98d6-9da35590ef7c"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-25T17:59:32.0394275+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "0c404be2-711e-428b-b73a-e5ee8d69d7ea",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"0c404be2-711e-428b-b73a-e5ee8d69d7ea","ClubId":"0895bc2b-2031-4361-8c52-2b6500ca4cc1","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"75a903da-d7ee-4754-967f-82b0af5ce4ee","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["884214e8-52f6-4656-affc-1bf1a885763f","14fbef83-ecad-4472-98d6-9da35590ef7c"],"AccountState":7,"LastPasswordChangeOn":"2026-02-25T17:59:32.0394275+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"0c404be2-711e-428b-b73a-e5ee8d69d7ea","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">0c404be2-711e-428b-b73a-e5ee8d69d7ea</Id>
<AccountState>7</AccountState>
<ClubId>0895bc2b-2031-4361-8c52-2b6500ca4cc1</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-25T17:59:32.0394275+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>75a903da-d7ee-4754-967f-82b0af5ce4ee</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>0c404be2-711e-428b-b73a-e5ee8d69d7ea</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>884214e8-52f6-4656-affc-1bf1a885763f</d2p1:guid>
<d2p1:guid>14fbef83-ecad-4472-98d6-9da35590ef7c</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": "47f7537b-8a91-4a4a-9049-35869a3f1a24",
"ClubId": "72f0e4e3-3040-45ea-868a-15a7ffe2545c",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "3376d8a4-9dc7-4949-88c1-331e49940531",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"8591a538-a397-4e40-9e89-999648521d33",
"d1b8be01-4e5f-4f18-8378-24bbe586cab9"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-02-25T17:59:32.0394275+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "47f7537b-8a91-4a4a-9049-35869a3f1a24",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"47f7537b-8a91-4a4a-9049-35869a3f1a24","ClubId":"72f0e4e3-3040-45ea-868a-15a7ffe2545c","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"3376d8a4-9dc7-4949-88c1-331e49940531","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["8591a538-a397-4e40-9e89-999648521d33","d1b8be01-4e5f-4f18-8378-24bbe586cab9"],"AccountState":7,"LastPasswordChangeOn":"2026-02-25T17:59:32.0394275+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"47f7537b-8a91-4a4a-9049-35869a3f1a24","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">47f7537b-8a91-4a4a-9049-35869a3f1a24</Id>
<AccountState>7</AccountState>
<ClubId>72f0e4e3-3040-45ea-868a-15a7ffe2545c</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-02-25T17:59:32.0394275+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>3376d8a4-9dc7-4949-88c1-331e49940531</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>47f7537b-8a91-4a4a-9049-35869a3f1a24</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>8591a538-a397-4e40-9e89-999648521d33</d2p1:guid>
<d2p1:guid>d1b8be01-4e5f-4f18-8378-24bbe586cab9</d2p1:guid>
</UserRoleIds>
</UserDetails>