[{"label":"Latest (v1.0)","version":"latest"}]
nsx-vmc-policy

Abort Policy Draft

Description

If there is a failure during publish, the admin can choose to abort the publishing attempts. This will bring back the system to the current configuration, i.e just before the publish was invoked. If draft publishing is not in progress or already completed, then this is a NO-OP

Request

Request

URL

URL


post
https://nsxmanager.your.domain/policy/api/v1/infra/drafts/{draft-id}?action=abort
Copy

Path Parameters

Path Parameters

string
draft-id Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

200 OK

OK

Errors

Errors

ApiError
400

Bad Request


ApiError
403

Forbidden


404

Not Found


ApiError
412

Precondition Failed


ApiError
500

Internal Server Error


ApiError
503

Service Unavailable

Code Samples

Code Samples

cURL Command

curl -X POST https://nsxmanager.your.domain/policy/api/v1/infra/drafts/{draft-id}?action=abort
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmw-doc-operation: abort-policy-draft
x-vmw-nsx-module: PolicyDraft


Feedback

Was this page helpful?