Endpoints - Delete

Delete a service endpoint

DELETE https://dev.azure.com/{organization}/_apis/serviceendpoint/endpoints/{endpointId}?projectIds={projectIds}&api-version=6.0-preview.4
DELETE https://dev.azure.com/{organization}/_apis/serviceendpoint/endpoints/{endpointId}?projectIds={projectIds}&deep={deep}&api-version=6.0-preview.4

URI Parameters

Name In Required Type Description
endpointId
path True

string

uuid

Endpoint Id of endpoint to delete

organization
path True

string

The name of the Azure DevOps organization.

api-version
query True

string

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

projectIds
query True

string

array (string)

project Ids from which endpoint needs to be deleted

deep
query

boolean

delete the spn created by endpoint

Responses

Name Type Description
200 OK

successful operation

Security

accessToken

Personal access token. Use any value for the user name and the token as the password.

Type: basic

Examples

Delete service endpoint

Sample Request

DELETE https://dev.azure.com/{organization}/_apis/serviceendpoint/endpoints/{endpointId}?projectIds=c7e5f0b3-71fa-4429-9fb3-3321963a7c06&api-version=6.0-preview.4

Sample Response