DeleteExtension (v3)

Overview

Delete an extension.

The function is available as a Web Service request.

Request

Parameters of the API request:


ParameterType

Description

Requirements
tokenStringAPI authentication tokenMandatory
extension ExtensionSpecifies the extensionMandatory

Response

Parameters of the API response:

ParameterType

Description

returnStatus

Possible return values:

    • OK
    • ERROR_GENERAL
    • ERROR_ILLEGAL_ARGUMENT
    • ERROR_UNAUTHORIZED

Examples


 Example DeleteExtension transaction.
Example DeleteExtension transaction.
Request:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:v3="http://v3.provisioning.ws.web.verba.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <v3:deleteExtension>
         <token>FipASZ3Y336Kvmv7W1BV7aXY7hDFeMxq</token>
         <extension>
            
            <!-- The ID of the existing Extension can be queried with the GetExtension call -->
			<!-- To delete an extension the ID or the extension and the environment must bespecified -->
            <id>20100</id>
 
			<!-- OR -->


			<eid>0000</eid>
            <!-- Needed if eid is not present
            <environmentShortName></environmentShortName>
            -->
            <extension>verbatestuser2@verbalabs.com</extension>

         </extension>
      </v3:deleteExtension>
   </soapenv:Body>
</soapenv:Envelope>

Response:

<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
   <S:Body>
      <ns2:deleteExtensionResponse xmlns:ns2="http://v3.provisioning.ws.web.verba.com/">
         <return>
            <statusCode>OK</statusCode>
         </return>
      </ns2:deleteExtensionResponse>
   </S:Body>
</S:Envelope>