Deleting the Repository IP Address Whitelist
Function
Delete the repository IP address whitelist.
URI
DELETE /v4/projects/{id}/trusted-ip-addresses/{ip_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
id |
Yes |
Integer |
Repository ID. |
ip_id |
Yes |
Integer |
IP address ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. It can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
status |
String |
Association result. |
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Example Requests
DELETE https://{endpoint}/v4/projects/{id}/trusted-ip-addresses/{ip_id}
Example Responses
Status code: 200
{ status: success }
Status Code
Status Code |
Description |
---|---|
200 |
OK |
Error code.
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