v49

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-01151216390.1 KB
network-policies

Delete a NetworkPolicy.

Delete an existing NetworkPolicy. This action is irreversible.

post/v1/network-policies/{id}/delete

Path parameters

idstring required

The unique identifier of the NetworkPolicy to delete.

Request body

EmptyRecord required

Response

NetworkPolicy deleted successfully.

idstring required

The unique identifier of the NetworkPolicy.

namestring required

The human-readable name of the NetworkPolicy. Unique per account.

descriptionstring nullable

Optional description of the NetworkPolicy.

create_time_msinteger required

The creation time of the NetworkPolicy (Unix timestamp in milliseconds).

update_time_msinteger required

Last update time of the NetworkPolicy (Unix timestamp in milliseconds).