Delen via


Installed Extensions - Uninstall Extension By Name

Uninstall the specified extension from the account / project collection.

DELETE https://extmgmt.dev.azure.com/{organization}/_apis/extensionmanagement/installedextensionsbyname/{publisherName}/{extensionName}?api-version=6.0-preview.1
DELETE https://extmgmt.dev.azure.com/{organization}/_apis/extensionmanagement/installedextensionsbyname/{publisherName}/{extensionName}?reason={reason}&reasonCode={reasonCode}&api-version=6.0-preview.1

URI Parameters

Name In Required Type Description
extensionName
path True

string

Name of the extension. Example: "ops-tools".

organization
path True

string

The name of the Azure DevOps organization.

publisherName
path True

string

Name of the publisher. Example: "fabrikam".

api-version
query True

string

Version of the API to use. This should be set to '6.0-preview.1' to use this version of the api.

reason
query

string

reasonCode
query

string

Responses

Name Type Description
200 OK

successful operation

Security

oauth2

Type: oauth2
Flow: accessCode
Authorization URL: https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL: https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

Scopes

Name Description
vso.extension_manage Grants the ability to install, uninstall, and perform other administrative actions on installed extensions.

Examples

Sample request

DELETE https://extmgmt.dev.azure.com/fabrikam/_apis/extensionmanagement/installedextensionsbyname/ms/samples-contributions-guide?api-version=6.0-preview.1

Sample response