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": "dd340381-f44a-4c8b-85d1-24a1862cea75",
"ClubId": "7f767854-a434-43f9-a81b-cc4383da7c0d",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "92d17197-758f-45ad-9770-f9e6048d077b",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"d40f3a50-9eef-4254-8301-3bdf3cb13a49",
"4d1efa43-f540-4ddc-bc80-6616707e0dac"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-29T22:37:22.4507386+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "dd340381-f44a-4c8b-85d1-24a1862cea75",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"dd340381-f44a-4c8b-85d1-24a1862cea75","ClubId":"7f767854-a434-43f9-a81b-cc4383da7c0d","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"92d17197-758f-45ad-9770-f9e6048d077b","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["d40f3a50-9eef-4254-8301-3bdf3cb13a49","4d1efa43-f540-4ddc-bc80-6616707e0dac"],"AccountState":7,"LastPasswordChangeOn":"2025-12-29T22:37:22.4507386+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"dd340381-f44a-4c8b-85d1-24a1862cea75","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">dd340381-f44a-4c8b-85d1-24a1862cea75</Id>
<AccountState>7</AccountState>
<ClubId>7f767854-a434-43f9-a81b-cc4383da7c0d</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-29T22:37:22.4507386+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>92d17197-758f-45ad-9770-f9e6048d077b</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>dd340381-f44a-4c8b-85d1-24a1862cea75</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d40f3a50-9eef-4254-8301-3bdf3cb13a49</d2p1:guid>
<d2p1:guid>4d1efa43-f540-4ddc-bc80-6616707e0dac</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": "ebf414a9-e27a-40ba-b00f-9d4c40da23cf",
"ClubId": "2907d16e-0c88-4f76-bb97-e8ff39dbc814",
"FriendlyName": "sample string 3",
"NotificationEmail": "sample string 4",
"PersonId": "fab9890d-5da2-4f1c-bb84-b7cf51634469",
"Remarks": "sample string 5",
"UserName": "sample string 6",
"UserRoleIds": [
"80fe3434-3903-4e6d-9a16-cd932c0f4a07",
"a0baf731-5b1c-4bd3-bc0b-e8a746fd5ca7"
],
"AccountState": 7,
"LastPasswordChangeOn": "2025-12-29T22:37:22.4507386+01:00",
"ForcePasswordChangeNextLogon": true,
"EmailConfirmed": true,
"LanguageId": 10,
"Id": "ebf414a9-e27a-40ba-b00f-9d4c40da23cf",
"CanUpdateRecord": true,
"CanDeleteRecord": true
}
text/html
Sample:
{"UserId":"ebf414a9-e27a-40ba-b00f-9d4c40da23cf","ClubId":"2907d16e-0c88-4f76-bb97-e8ff39dbc814","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"fab9890d-5da2-4f1c-bb84-b7cf51634469","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["80fe3434-3903-4e6d-9a16-cd932c0f4a07","a0baf731-5b1c-4bd3-bc0b-e8a746fd5ca7"],"AccountState":7,"LastPasswordChangeOn":"2025-12-29T22:37:22.4507386+01:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"ebf414a9-e27a-40ba-b00f-9d4c40da23cf","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">ebf414a9-e27a-40ba-b00f-9d4c40da23cf</Id>
<AccountState>7</AccountState>
<ClubId>2907d16e-0c88-4f76-bb97-e8ff39dbc814</ClubId>
<EmailConfirmed>true</EmailConfirmed>
<ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon>
<FriendlyName>sample string 3</FriendlyName>
<LanguageId>10</LanguageId>
<LastPasswordChangeOn>2025-12-29T22:37:22.4507386+01:00</LastPasswordChangeOn>
<NotificationEmail>sample string 4</NotificationEmail>
<PersonId>fab9890d-5da2-4f1c-bb84-b7cf51634469</PersonId>
<Remarks>sample string 5</Remarks>
<UserId>ebf414a9-e27a-40ba-b00f-9d4c40da23cf</UserId>
<UserName>sample string 6</UserName>
<UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>80fe3434-3903-4e6d-9a16-cd932c0f4a07</d2p1:guid>
<d2p1:guid>a0baf731-5b1c-4bd3-bc0b-e8a746fd5ca7</d2p1:guid>
</UserRoleIds>
</UserDetails>