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": "9a5bc7b5-e33d-40a5-9f79-e77067c4291c",
"ClubId": "c80a510b-2537-41f8-806f-872351801ecf",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "d5f856bc-1420-4fd6-aaba-495228f42897",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"503fa235-45bc-466a-bf4e-7e2fa65affcd",
"30104fa4-567a-456e-b822-1c8028b29430"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-22T00:52:28.7137492+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "9a5bc7b5-e33d-40a5-9f79-e77067c4291c",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"9a5bc7b5-e33d-40a5-9f79-e77067c4291c","ClubId":"c80a510b-2537-41f8-806f-872351801ecf","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"d5f856bc-1420-4fd6-aaba-495228f42897","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["503fa235-45bc-466a-bf4e-7e2fa65affcd","30104fa4-567a-456e-b822-1c8028b29430"],"AccountState":7,"LastPasswordChangeOn":"2025-12-22T00:52:28.7137492+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"9a5bc7b5-e33d-40a5-9f79-e77067c4291c","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">9a5bc7b5-e33d-40a5-9f79-e77067c4291c</Id>
<AccountState>7</AccountState>
<ClubId>c80a510b-2537-41f8-806f-872351801ecf</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-22T00:52:28.7137492+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>d5f856bc-1420-4fd6-aaba-495228f42897</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>9a5bc7b5-e33d-40a5-9f79-e77067c4291c</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>503fa235-45bc-466a-bf4e-7e2fa65affcd</d2p1:guid>
<d2p1:guid>30104fa4-567a-456e-b822-1c8028b29430</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": "f9b37206-908f-4129-ad88-5d450cbd3b4f",
"ClubId": "a71ecb69-9b46-4c78-9688-b41d9a5113d4",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "ee75e807-60af-41fb-9db7-1abd744929d6",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"feaf3d79-6d43-436a-ba9b-55d0426a6c54",
"04b61db0-f1e5-4cfa-9704-4e6f3f65ce7e"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-22T00:52:28.7137492+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "f9b37206-908f-4129-ad88-5d450cbd3b4f",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"f9b37206-908f-4129-ad88-5d450cbd3b4f","ClubId":"a71ecb69-9b46-4c78-9688-b41d9a5113d4","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"ee75e807-60af-41fb-9db7-1abd744929d6","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["feaf3d79-6d43-436a-ba9b-55d0426a6c54","04b61db0-f1e5-4cfa-9704-4e6f3f65ce7e"],"AccountState":7,"LastPasswordChangeOn":"2025-12-22T00:52:28.7137492+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"f9b37206-908f-4129-ad88-5d450cbd3b4f","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">f9b37206-908f-4129-ad88-5d450cbd3b4f</Id>
<AccountState>7</AccountState>
<ClubId>a71ecb69-9b46-4c78-9688-b41d9a5113d4</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-22T00:52:28.7137492+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>ee75e807-60af-41fb-9db7-1abd744929d6</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>f9b37206-908f-4129-ad88-5d450cbd3b4f</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>feaf3d79-6d43-436a-ba9b-55d0426a6c54</d2p1:guid>
<d2p1:guid>04b61db0-f1e5-4cfa-9704-4e6f3f65ce7e</d2p1:guid>
</UserRoleIds>
</UserDetails>