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": "6d9c8c82-8978-40df-b4b6-2191250ac7e7",
"ClubId": "6c177733-f68d-457d-bf5d-57ddcd68c6c1",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "f21087c0-cf03-4d84-9034-024dc21be877",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"5f3005a9-5c72-4205-ba49-159cb03d3dcc",
"6e86e288-30c7-4171-936e-931703cdd9f3"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-17T06:51:39.5591238+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "6d9c8c82-8978-40df-b4b6-2191250ac7e7",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"6d9c8c82-8978-40df-b4b6-2191250ac7e7","ClubId":"6c177733-f68d-457d-bf5d-57ddcd68c6c1","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"f21087c0-cf03-4d84-9034-024dc21be877","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["5f3005a9-5c72-4205-ba49-159cb03d3dcc","6e86e288-30c7-4171-936e-931703cdd9f3"],"AccountState":7,"LastPasswordChangeOn":"2026-01-17T06:51:39.5591238+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"6d9c8c82-8978-40df-b4b6-2191250ac7e7","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">6d9c8c82-8978-40df-b4b6-2191250ac7e7</Id>
<AccountState>7</AccountState>
<ClubId>6c177733-f68d-457d-bf5d-57ddcd68c6c1</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-17T06:51:39.5591238+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>f21087c0-cf03-4d84-9034-024dc21be877</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>6d9c8c82-8978-40df-b4b6-2191250ac7e7</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>5f3005a9-5c72-4205-ba49-159cb03d3dcc</d2p1:guid>
<d2p1:guid>6e86e288-30c7-4171-936e-931703cdd9f3</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": "dc38ea56-cccd-4d9c-b8c6-22edccac4632",
"ClubId": "c5225ce9-8c74-4b7f-aea0-f649788ea4d9",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "1aa2a20b-b059-4414-8eeb-b94413d9a628",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"13fb431a-3c8f-4e96-b273-4ce1eaaa9903",
"dc3fa102-05ec-4cc3-8c04-b15b1a782481"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-01-17T06:51:39.574745+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "dc38ea56-cccd-4d9c-b8c6-22edccac4632",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"dc38ea56-cccd-4d9c-b8c6-22edccac4632","ClubId":"c5225ce9-8c74-4b7f-aea0-f649788ea4d9","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"1aa2a20b-b059-4414-8eeb-b94413d9a628","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["13fb431a-3c8f-4e96-b273-4ce1eaaa9903","dc3fa102-05ec-4cc3-8c04-b15b1a782481"],"AccountState":7,"LastPasswordChangeOn":"2026-01-17T06:51:39.574745+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"dc38ea56-cccd-4d9c-b8c6-22edccac4632","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">dc38ea56-cccd-4d9c-b8c6-22edccac4632</Id>
<AccountState>7</AccountState>
<ClubId>c5225ce9-8c74-4b7f-aea0-f649788ea4d9</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-01-17T06:51:39.574745+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>1aa2a20b-b059-4414-8eeb-b94413d9a628</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>dc38ea56-cccd-4d9c-b8c6-22edccac4632</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>13fb431a-3c8f-4e96-b273-4ce1eaaa9903</d2p1:guid>
<d2p1:guid>dc3fa102-05ec-4cc3-8c04-b15b1a782481</d2p1:guid>
</UserRoleIds>
</UserDetails>