POST api/admin/CreateMSTeamsDomain

Request Information

URI Parameters

None.

Body Parameters

MSTeamsDomainDTO
NameDescriptionTypeAdditional information
UserName

string

None.

EnterpriseId

string

None.

TrunkName

string

None.

IsOnlyTeamsDomains

boolean

None.

UserPrincipalName

string

None.

accountType

ResourceAccountType

None.

displayName

string

None.

JsonParameters

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "EnterpriseId": "sample string 2",
  "TrunkName": "sample string 3",
  "IsOnlyTeamsDomains": true,
  "UserPrincipalName": "sample string 5",
  "accountType": 0,
  "displayName": "sample string 6",
  "JsonParameters": "sample string 7"
}

application/xml, text/xml

Sample:
<MSTeamsDomainDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.MSTeams">
  <EnterpriseId>sample string 2</EnterpriseId>
  <IsOnlyTeamsDomains>true</IsOnlyTeamsDomains>
  <JsonParameters>sample string 7</JsonParameters>
  <TrunkName>sample string 3</TrunkName>
  <UserName>sample string 1</UserName>
  <UserPrincipalName>sample string 5</UserPrincipalName>
  <accountType>UNKNOWN</accountType>
  <displayName>sample string 6</displayName>
</MSTeamsDomainDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.