POST api/admin/DeleteResourceAccount
Request Information
URI Parameters
None.
Body Parameters
MSTeamsDirectRoutingDTOName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
EnterpriseId | string |
None. |
|
TrunkName | string |
None. |
|
UserPrincipalName | string |
None. |
|
PhoneNumber | string |
None. |
|
Extension | string |
None. |
|
TeamsUserId | string |
None. |
|
LocationId | integer |
None. |
|
UserId | decimal number |
None. |
|
ServiceId | integer |
None. |
|
EnterpriseMSTeamsConfigId | integer |
None. |
|
TeamsGroupIds | string |
None. |
|
DisplayName | string |
None. |
|
AccountEnabled | boolean |
None. |
|
Country | string |
None. |
|
City | string |
None. |
|
State | string |
None. |
|
PostalCode | string |
None. |
|
StreetAddress | string |
None. |
|
CompanyName | string |
None. |
|
Department | string |
None. |
|
FacsimileTelephoneNumber | string |
None. |
|
GivenName | string |
None. |
|
Surname | string |
None. |
|
string |
None. |
||
MailNickName | string |
None. |
|
Mobile | string |
None. |
|
OtherMails | string |
None. |
|
TelephoneNumber | string |
None. |
|
IsDeleted | boolean |
None. |
|
UserState | string |
None. |
|
UserStateChangedOn | date |
None. |
|
UserType | string |
None. |
|
SipProxyAddress | string |
None. |
|
ShowInAddressList | string |
None. |
|
UsageLocation | string |
None. |
|
AccountType | ResourceAccountType |
None. |
|
JsonParameters | string |
None. |
|
SyncToTeams | boolean |
None. |
|
StorageId | string |
None. |
|
StorageName | string |
None. |
|
StorageType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "EnterpriseId": "sample string 2", "TrunkName": "sample string 3", "UserPrincipalName": "sample string 4", "PhoneNumber": "sample string 5", "Extension": "sample string 6", "TeamsUserId": "sample string 7", "LocationId": 1, "UserId": 1.0, "ServiceId": 1, "EnterpriseMSTeamsConfigId": 8, "TeamsGroupIds": "sample string 9", "DisplayName": "sample string 10", "AccountEnabled": true, "Country": "sample string 12", "City": "sample string 13", "State": "sample string 14", "PostalCode": "sample string 15", "StreetAddress": "sample string 16", "CompanyName": "sample string 17", "Department": "sample string 18", "FacsimileTelephoneNumber": "sample string 19", "GivenName": "sample string 20", "Surname": "sample string 21", "Mail": "sample string 22", "MailNickName": "sample string 23", "Mobile": "sample string 24", "OtherMails": "sample string 25", "TelephoneNumber": "sample string 26", "IsDeleted": true, "UserState": "sample string 28", "UserStateChangedOn": "2024-11-21T04:55:34.4930114-05:00", "UserType": "sample string 29", "SipProxyAddress": "sample string 30", "ShowInAddressList": "sample string 31", "UsageLocation": "sample string 32", "AccountType": 0, "JsonParameters": "sample string 33", "SyncToTeams": true, "StorageId": "sample string 35", "StorageName": "sample string 36", "StorageType": "sample string 37" }
application/xml, text/xml
Sample:
<MSTeamsDirectRoutingDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MSPApi.DTO.MSTeams"> <AccountEnabled>true</AccountEnabled> <AccountType>UNKNOWN</AccountType> <City>sample string 13</City> <CompanyName>sample string 17</CompanyName> <Country>sample string 12</Country> <Department>sample string 18</Department> <DisplayName>sample string 10</DisplayName> <EnterpriseId>sample string 2</EnterpriseId> <EnterpriseMSTeamsConfigId>8</EnterpriseMSTeamsConfigId> <Extension>sample string 6</Extension> <FacsimileTelephoneNumber>sample string 19</FacsimileTelephoneNumber> <GivenName>sample string 20</GivenName> <IsDeleted>true</IsDeleted> <JsonParameters>sample string 33</JsonParameters> <LocationId>1</LocationId> <Mail>sample string 22</Mail> <MailNickName>sample string 23</MailNickName> <Mobile>sample string 24</Mobile> <OtherMails>sample string 25</OtherMails> <PhoneNumber>sample string 5</PhoneNumber> <PostalCode>sample string 15</PostalCode> <ServiceId>1</ServiceId> <ShowInAddressList>sample string 31</ShowInAddressList> <SipProxyAddress>sample string 30</SipProxyAddress> <State>sample string 14</State> <StorageId>sample string 35</StorageId> <StorageName>sample string 36</StorageName> <StorageType>sample string 37</StorageType> <StreetAddress>sample string 16</StreetAddress> <Surname>sample string 21</Surname> <SyncToTeams>true</SyncToTeams> <TeamsGroupIds>sample string 9</TeamsGroupIds> <TeamsUserId>sample string 7</TeamsUserId> <TelephoneNumber>sample string 26</TelephoneNumber> <TrunkName>sample string 3</TrunkName> <UsageLocation>sample string 32</UsageLocation> <UserId>1</UserId> <UserName>sample string 1</UserName> <UserPrincipalName>sample string 4</UserPrincipalName> <UserState>sample string 28</UserState> <UserStateChangedOn>2024-11-21T04:55:34.4930114-05:00</UserStateChangedOn> <UserType>sample string 29</UserType> </MSTeamsDirectRoutingDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |