POST api/user/{id}
Update a user account, in account id location
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Account identifier |
globally unique identifier |
Required |
Body Parameters
Account model
AccountDetailsName | Description | Type | Additional information |
---|---|---|---|
ID | globally unique identifier |
None. |
|
OperatorID | globally unique identifier |
None. |
|
string |
Data type: EmailAddress |
||
Password | string |
None. |
|
ConfirmPassword | string |
None. |
|
Verified | boolean |
None. |
|
Disabled | boolean |
None. |
|
TimeZone | string |
None. |
|
StoreScope | Collection of globally unique identifier |
None. |
|
PrivilegeGroup | globally unique identifier |
None. |
|
ExternalSender | boolean |
None. |
|
CanPromptStores | boolean |
None. |
|
PromptStoresOnLogin | boolean |
None. |
|
ReleaseNotify | boolean |
None. |
|
Required | boolean |
None. |
|
PrivilegeGroupName | string |
Relation. This field may not always be loaded or used for updates. |
|
StoreIDs | Collection of integer |
Relation. This field may not always be loaded or used for updates. |
|
SecurityOptions | SecurityOptions |
Relation. This field may not always be loaded or used for updates. |
Request Formats
application/json, text/json
Sample:
{ "id": "16f53072-005f-4e74-942e-4ae88e4da93b", "operatorID": "67e30298-bf71-4e28-a5df-0b95ff23fa55", "email": "sample string 3", "password": "sample string 4", "confirmPassword": "sample string 5", "verified": true, "disabled": true, "timeZone": "sample string 8", "storeScope": [ "7494c291-183f-4044-8a07-67cee69037ae", "b667b201-bb9d-4f0d-ab70-881d703f3d5d" ], "privilegeGroup": "46728038-98b7-4250-8d4d-bef141a41114", "externalSender": true, "canPromptStores": true, "promptStoresOnLogin": true, "releaseNotify": true, "required": true, "privilegeGroupName": "sample string 14", "storeIDs": [ 1, 2 ], "securityOptions": { "$id": "2", "loginMode": 1, "allowSelfVerification": true, "verifierEmail": "sample string 3", "source": "sample string 4", "loginModeInherited": 5, "loginModeSource": "sample string 6", "selfVerifyInherited": true, "selfVerifySource": "sample string 8", "verifyEmailInherited": "sample string 9", "verifyEmailSource": "sample string 10" } }
application/xml, text/xml
Sample:
<AccountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.Tenancies.Accounts"> <CanPromptStores>true</CanPromptStores> <ConfirmPassword>sample string 5</ConfirmPassword> <Disabled>true</Disabled> <Email>sample string 3</Email> <ExternalSender>true</ExternalSender> <ID>16f53072-005f-4e74-942e-4ae88e4da93b</ID> <OperatorID>67e30298-bf71-4e28-a5df-0b95ff23fa55</OperatorID> <Password>sample string 4</Password> <PrivilegeGroup>46728038-98b7-4250-8d4d-bef141a41114</PrivilegeGroup> <PrivilegeGroupName>sample string 14</PrivilegeGroupName> <PromptStoresOnLogin>true</PromptStoresOnLogin> <ReleaseNotify>true</ReleaseNotify> <Required>true</Required> <SecurityOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/EziManager.Service.Tenancies.Browser"> <d2p1:AllowSelfVerification>true</d2p1:AllowSelfVerification> <d2p1:LoginMode>1</d2p1:LoginMode> <d2p1:LoginModeInherited>5</d2p1:LoginModeInherited> <d2p1:LoginModeSource>sample string 6</d2p1:LoginModeSource> <d2p1:SelfVerifyInherited>true</d2p1:SelfVerifyInherited> <d2p1:SelfVerifySource>sample string 8</d2p1:SelfVerifySource> <d2p1:Source>sample string 4</d2p1:Source> <d2p1:VerifierEmail>sample string 3</d2p1:VerifierEmail> <d2p1:VerifyEmailInherited>sample string 9</d2p1:VerifyEmailInherited> <d2p1:VerifyEmailSource>sample string 10</d2p1:VerifyEmailSource> </SecurityOptions> <StoreIDs xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </StoreIDs> <StoreScope xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>7494c291-183f-4044-8a07-67cee69037ae</d2p1:guid> <d2p1:guid>b667b201-bb9d-4f0d-ab70-881d703f3d5d</d2p1:guid> </StoreScope> <TimeZone>sample string 8</TimeZone> <Verified>true</Verified> </AccountDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.