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": "ee9d7aef-5799-4b86-991b-9ae93b2580b2",
"ClubId": "36c27b48-89c6-4e91-8bd8-36b64595685a",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "78a7ffcf-fade-4191-b4e2-a736da56e9da",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"55befea2-3f6e-47bc-b8c0-24bf45401785",
"5d19d1c9-11d5-4057-be4c-a7ac7efa5d44"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-11-09T03:40:52.7337853+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "ee9d7aef-5799-4b86-991b-9ae93b2580b2",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"ee9d7aef-5799-4b86-991b-9ae93b2580b2","ClubId":"36c27b48-89c6-4e91-8bd8-36b64595685a","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"78a7ffcf-fade-4191-b4e2-a736da56e9da","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["55befea2-3f6e-47bc-b8c0-24bf45401785","5d19d1c9-11d5-4057-be4c-a7ac7efa5d44"],"AccountState":7,"LastPasswordChangeOn":"2026-11-09T03:40:52.7337853+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"ee9d7aef-5799-4b86-991b-9ae93b2580b2","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">ee9d7aef-5799-4b86-991b-9ae93b2580b2</Id>
<AccountState>7</AccountState>
<ClubId>36c27b48-89c6-4e91-8bd8-36b64595685a</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-11-09T03:40:52.7337853+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>78a7ffcf-fade-4191-b4e2-a736da56e9da</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>ee9d7aef-5799-4b86-991b-9ae93b2580b2</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>55befea2-3f6e-47bc-b8c0-24bf45401785</d2p1:guid>
<d2p1:guid>5d19d1c9-11d5-4057-be4c-a7ac7efa5d44</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": "c086eae6-0867-45b5-bd6e-0e71745a382a",
"ClubId": "139bacd7-40f7-47f4-8dd6-d86b31634991",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "56ac8333-87b6-465b-a254-dcec1bb26116",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"105c0b5f-0d33-43b4-a22f-e60a0adca170",
"9f8f3e81-25f5-441b-9566-f29d4af905c1"
],
"AccountState": 7,
"LastPasswordChangeOn": "2026-11-09T03:40:52.7337853+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "c086eae6-0867-45b5-bd6e-0e71745a382a",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"c086eae6-0867-45b5-bd6e-0e71745a382a","ClubId":"139bacd7-40f7-47f4-8dd6-d86b31634991","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"56ac8333-87b6-465b-a254-dcec1bb26116","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["105c0b5f-0d33-43b4-a22f-e60a0adca170","9f8f3e81-25f5-441b-9566-f29d4af905c1"],"AccountState":7,"LastPasswordChangeOn":"2026-11-09T03:40:52.7337853+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"c086eae6-0867-45b5-bd6e-0e71745a382a","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">c086eae6-0867-45b5-bd6e-0e71745a382a</Id>
<AccountState>7</AccountState>
<ClubId>139bacd7-40f7-47f4-8dd6-d86b31634991</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2026-11-09T03:40:52.7337853+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>56ac8333-87b6-465b-a254-dcec1bb26116</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>c086eae6-0867-45b5-bd6e-0e71745a382a</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>105c0b5f-0d33-43b4-a22f-e60a0adca170</d2p1:guid>
<d2p1:guid>9f8f3e81-25f5-441b-9566-f29d4af905c1</d2p1:guid>
</UserRoleIds>
</UserDetails>