PUT api/v1/account/{id}
Put changes to account.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Account id. |
globally unique identifier |
Required |
Body Parameters
AccountDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Account Id. |
globally unique identifier |
None. |
SubDomain |
Subdomain to access the data. Key field for account. |
string |
None. |
Name |
Account name as chosen by the user. Friendly account name. |
string |
None. |
DisplayName |
Account name as displayed on the UI. Not part of the AccountName or Subdomain |
string |
None. |
Plan |
Tinanmous plan for the account. |
AccountPlan |
None. |
RegistrationCriteria |
User registration criteria. |
RegistrationCriteria |
None. |
IsPublic |
If this account is publically visible |
boolean |
None. |
IsDeleted |
If the account has been deleted. |
boolean |
None. |
Links | Collection of LinkDto |
None. |
|
EmailOptions |
Defines the email options for the account. |
EmailOptionsDto |
None. |
WelcomeMessage |
Welcome text to show the user above the login prompt |
string |
None. |
Request Formats
application/json, text/json, application/senml+json
{ "Id": "13546e8b-cbf0-4d20-90f4-1deed60a7205", "SubDomain": "sample string 2", "Name": "sample string 3", "DisplayName": "sample string 4", "Plan": "Starter", "RegistrationCriteria": "RequireInvite", "IsPublic": true, "IsDeleted": true, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "EmailOptions": { "AllowUnknownSenderEmail": true, "WhiteList": [ "sample string 1", "sample string 2" ], "BlackList": [ "sample string 1", "sample string 2" ] }, "WelcomeMessage": "sample string 7" }
application/xml, text/xml
<AccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Account"> <DisplayName>sample string 4</DisplayName> <EmailOptions> <AllowUnknownSenderEmail>true</AllowUnknownSenderEmail> <BlackList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </BlackList> <WhiteList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </WhiteList> </EmailOptions> <Id>13546e8b-cbf0-4d20-90f4-1deed60a7205</Id> <IsDeleted>true</IsDeleted> <IsPublic>true</IsPublic> <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> </Links> <Name>sample string 3</Name> <Plan>Starter</Plan> <RegistrationCriteria>RequireInvite</RegistrationCriteria> <SubDomain>sample string 2</SubDomain> <WelcomeMessage>sample string 7</WelcomeMessage> </AccountDto>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
AccountDtoName | Description | Type | Additional information |
---|---|---|---|
Id |
Account Id. |
globally unique identifier |
None. |
SubDomain |
Subdomain to access the data. Key field for account. |
string |
None. |
Name |
Account name as chosen by the user. Friendly account name. |
string |
None. |
DisplayName |
Account name as displayed on the UI. Not part of the AccountName or Subdomain |
string |
None. |
Plan |
Tinanmous plan for the account. |
AccountPlan |
None. |
RegistrationCriteria |
User registration criteria. |
RegistrationCriteria |
None. |
IsPublic |
If this account is publically visible |
boolean |
None. |
IsDeleted |
If the account has been deleted. |
boolean |
None. |
Links | Collection of LinkDto |
None. |
|
EmailOptions |
Defines the email options for the account. |
EmailOptionsDto |
None. |
WelcomeMessage |
Welcome text to show the user above the login prompt |
string |
None. |
Response Formats
application/json, text/json, application/senml+json
{ "Id": "b7e490fe-9003-4b73-99f3-94e706808777", "SubDomain": "sample string 2", "Name": "sample string 3", "DisplayName": "sample string 4", "Plan": "Starter", "RegistrationCriteria": "RequireInvite", "IsPublic": true, "IsDeleted": true, "Links": [ { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" }, { "Href": "sample string 1", "Rel": "sample string 2", "Action": "sample string 3" } ], "EmailOptions": { "AllowUnknownSenderEmail": true, "WhiteList": [ "sample string 1", "sample string 2" ], "BlackList": [ "sample string 1", "sample string 2" ] }, "WelcomeMessage": "sample string 7" }
application/xml, text/xml
<AccountDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Account"> <DisplayName>sample string 4</DisplayName> <EmailOptions> <AllowUnknownSenderEmail>true</AllowUnknownSenderEmail> <BlackList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </BlackList> <WhiteList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:string>sample string 1</d3p1:string> <d3p1:string>sample string 2</d3p1:string> </WhiteList> </EmailOptions> <Id>b7e490fe-9003-4b73-99f3-94e706808777</Id> <IsDeleted>true</IsDeleted> <IsPublic>true</IsPublic> <Links xmlns:d2p1="http://schemas.datacontract.org/2004/07/AnalysisUK.Tinamous.www.ApiControllers.Models.Shared"> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> <d2p1:LinkViewModel> <d2p1:Action>sample string 3</d2p1:Action> <d2p1:Href>sample string 1</d2p1:Href> <d2p1:Rel>sample string 2</d2p1:Rel> </d2p1:LinkViewModel> </Links> <Name>sample string 3</Name> <Plan>Starter</Plan> <RegistrationCriteria>RequireInvite</RegistrationCriteria> <SubDomain>sample string 2</SubDomain> <WelcomeMessage>sample string 7</WelcomeMessage> </AccountDto>