Help Center/ Direct Connect/ API Reference/ API/ Virtual Interface Peer Connectivity Detection Task/ Deleting a Connectivity Detection Task for a Virtual Interface Peer
Updated on 2025-12-15 GMT+08:00

Deleting a Connectivity Detection Task for a Virtual Interface Peer

Function

This API is used to delete a connectivity detection task if you no longer need it.

Calling Method

For details, see Calling APIs.

Authorization Information

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, no identity policy-based permission required for calling this API.

URI

DELETE /v3/{project_id}/dcaas/vif-peer-detections/{vif_peer_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

Minimum: 0

Maximum: 36

vif_peer_id

Yes

String

Specifies the virtual interface peer ID.

Minimum: 36

Maximum: 36

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Specifies the user token. To obtain the token, see section "Obtaining the User Token" in the Identity and Access Management API Reference. The token is the value of X-Subject-Token in the response header.

Minimum: 0

Maximum: 10240

Response Parameters

Status code: 204

NO CONTENT

None

Example Requests

Deleting a connectivity detection task for a virtual interface peer

DELETE https://{dc_endpoint}/v3/b197c48159d44a66b32c538c3f8da89a/dcaas/vif-peer-detections/3284c6e2-a803-4108-8496-ed3f150697d6

Example Responses

None

Status Codes

Status Code

Description

204

NO CONTENT

Error Codes

See Error Codes.