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
AccountDto| Name | 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": "5fb073a8-2c92-4dc8-9066-78173f2a5baf",
  "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>5fb073a8-2c92-4dc8-9066-78173f2a5baf</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
AccountDto| Name | 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": "fe6d1066-9640-41f2-8419-9050fc3dd621",
  "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>fe6d1066-9640-41f2-8419-9050fc3dd621</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>