PUT api/v1/users/{userId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId | globally unique identifier |
Required |
Body Parameters
UserDetailsName | 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": "73dc38c8-93b7-4307-9493-08d0bb44caf4", "ClubId": "80f3d4f7-efea-4721-a10c-f744c73224ea", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "e712d316-2dac-4018-bbde-6fc0f5fdc487", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "c258e6a3-9bfe-48d2-821a-c3175d752e37", "12ccf0db-21b4-4ebe-abeb-0c191d38a213" ], "AccountState": 7, "LastPasswordChangeOn": "2025-07-09T11:25:25.3935029+02:00", "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "LanguageId": 10, "Id": "73dc38c8-93b7-4307-9493-08d0bb44caf4", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"73dc38c8-93b7-4307-9493-08d0bb44caf4","ClubId":"80f3d4f7-efea-4721-a10c-f744c73224ea","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"e712d316-2dac-4018-bbde-6fc0f5fdc487","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["c258e6a3-9bfe-48d2-821a-c3175d752e37","12ccf0db-21b4-4ebe-abeb-0c191d38a213"],"AccountState":7,"LastPasswordChangeOn":"2025-07-09T11:25:25.3935029+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"73dc38c8-93b7-4307-9493-08d0bb44caf4","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">73dc38c8-93b7-4307-9493-08d0bb44caf4</Id> <AccountState>7</AccountState> <ClubId>80f3d4f7-efea-4721-a10c-f744c73224ea</ClubId> <EmailConfirmed>true</EmailConfirmed> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <LanguageId>10</LanguageId> <LastPasswordChangeOn>2025-07-09T11:25:25.3935029+02:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>e712d316-2dac-4018-bbde-6fc0f5fdc487</PersonId> <Remarks>sample string 5</Remarks> <UserId>73dc38c8-93b7-4307-9493-08d0bb44caf4</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>c258e6a3-9bfe-48d2-821a-c3175d752e37</d2p1:guid> <d2p1:guid>12ccf0db-21b4-4ebe-abeb-0c191d38a213</d2p1:guid> </UserRoleIds> </UserDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UserDetailsName | 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": "2411f1cc-beb9-41ee-9b6e-a90ffc849db7", "ClubId": "35d38b57-8226-494e-9c3b-b162d0727ee9", "FriendlyName": "sample string 3", "NotificationEmail": "sample string 4", "PersonId": "ed8b5b6d-db1a-4022-a9ed-02a00095daed", "Remarks": "sample string 5", "UserName": "sample string 6", "UserRoleIds": [ "67e197f4-69a6-42f1-8ab1-f86380b2b699", "ad156cca-a8f3-41fe-9845-9f2b26c6a652" ], "AccountState": 7, "LastPasswordChangeOn": "2025-07-09T11:25:25.3935029+02:00", "ForcePasswordChangeNextLogon": true, "EmailConfirmed": true, "LanguageId": 10, "Id": "2411f1cc-beb9-41ee-9b6e-a90ffc849db7", "CanUpdateRecord": true, "CanDeleteRecord": true }
text/html
Sample:
{"UserId":"2411f1cc-beb9-41ee-9b6e-a90ffc849db7","ClubId":"35d38b57-8226-494e-9c3b-b162d0727ee9","FriendlyName":"sample string 3","NotificationEmail":"sample string 4","PersonId":"ed8b5b6d-db1a-4022-a9ed-02a00095daed","Remarks":"sample string 5","UserName":"sample string 6","UserRoleIds":["67e197f4-69a6-42f1-8ab1-f86380b2b699","ad156cca-a8f3-41fe-9845-9f2b26c6a652"],"AccountState":7,"LastPasswordChangeOn":"2025-07-09T11:25:25.3935029+02:00","ForcePasswordChangeNextLogon":true,"EmailConfirmed":true,"LanguageId":10,"Id":"2411f1cc-beb9-41ee-9b6e-a90ffc849db7","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">2411f1cc-beb9-41ee-9b6e-a90ffc849db7</Id> <AccountState>7</AccountState> <ClubId>35d38b57-8226-494e-9c3b-b162d0727ee9</ClubId> <EmailConfirmed>true</EmailConfirmed> <ForcePasswordChangeNextLogon>true</ForcePasswordChangeNextLogon> <FriendlyName>sample string 3</FriendlyName> <LanguageId>10</LanguageId> <LastPasswordChangeOn>2025-07-09T11:25:25.3935029+02:00</LastPasswordChangeOn> <NotificationEmail>sample string 4</NotificationEmail> <PersonId>ed8b5b6d-db1a-4022-a9ed-02a00095daed</PersonId> <Remarks>sample string 5</Remarks> <UserId>2411f1cc-beb9-41ee-9b6e-a90ffc849db7</UserId> <UserName>sample string 6</UserName> <UserRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>67e197f4-69a6-42f1-8ab1-f86380b2b699</d2p1:guid> <d2p1:guid>ad156cca-a8f3-41fe-9845-9f2b26c6a652</d2p1:guid> </UserRoleIds> </UserDetails>