Use case 21: Delete an Extension
Follow this example to delete a single extension.
Prerequisites
The Data Source that contains the extension information is created and you have obtained the Data Source ID.
Procedure
-
Get the Extension that you want to update using the GET method on the API. Example: /api/em/v2/datasources/101/extensions?extensionValue=1234567.
Where 101 is the data source ID and 1234567 is the extension ID.
-
Extract the ID from the above response and use the DELETE method on end point /api/em/v2/datasources/101/extensions/extensionID.