Deleting VPC Endpoint Access Control Information
Function
This API is used to delete a private network security access control policy. Before calling this API, make sure the security access control policy does exist.
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. For details about the required permissions, see Permissions Policies and Supported Actions.
URI
DELETE /v2/vpceps
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | Definition User token. (It is the value obtained from X-Subject-Token in the response header.) It can be obtained by calling the API for obtaining an IAM user token. Constraints Global tenant tokens are not supported. Use a region-level token whose scope is project. Range N/A Default Value N/A |
| region | Yes | String | Definition Region where the VPC endpoint to be deleted is located. It can be found from the region column in the Endpoint list. Constraints N/A Range Enter 1 to 40 characters. Only digits, letters, and hyphens (-) are allowed. Default Value N/A |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| enterprise_id | No | String | Definition Tenant ID. For details about how to obtain the account ID, see Obtaining an Account ID. Constraints N/A. Range Enter 1 to 40 characters. Only digits, letters, hyphens (-), and underscores (_) are allowed. Default Value N/A. |
| vpceps | No | Array of VpcepRequestInfo objects | Definition List of authorized VPC endpoint information. Constraints N/A |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| description | No | String | Definition VPC endpoint description. Constraints N/A Range Enter 0 to 128 characters. Use only letters, digits, spaces, and these special characters: ()[]-_~.&; Default Value N/A |
| vpcep_id | No | String | Definition VPC endpoint ID. Check it from the All Account Settings > General > Internal Secure Access page. Constraints N/A Range Enter 1 to 40 characters. Only use digits, lower-case letters, and hyphens (-). Default Value N/A |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| status | String | Definition Status. Range ● ok: The API is successfully called. |
| total | Integer | Definition Total count. Range N/A. |
Status code: 401
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Definition Error code. Range N/A. |
| error_msg | String | Definition Error message. Range N/A. |
Status code: 404
| Parameter | Type | Description |
|---|---|---|
| error_code | String | Definition Error code. Range N/A. |
| error_msg | String | Definition Error message. Range N/A. |
Example Requests
DELETE https://{endpoint}/v2/vpceps
{
"enterprise_id" : "abcdbfa39r7pg09la8msyu8vq004aabcd",
"vpceps" : [ {
"vpcep_id" : "1234bfa39r7pg09la8msyu8vq004a1234"
} ]
} Example Responses
Status code: 200
Deleted.
{
"status" : "ok",
"total" : 1
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Deleted. |
| 401 | Insufficient permissions. |
| 404 | Not found. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot