Skip to content

MngDeleteVirtualDealerPolicy

Deletes a Virtual Dealer policy. Requires SESSION_ADMIN.

HTTP: DELETE /dealing/virtual-dealer/policy/:id

{"command":"MngDeleteVirtualDealerPolicy","id":1}
{"id":1}

If any route step references the policy, the operation returns HTTP 409:

{
  "error":"RET_CFG_NOT_EMPTY",
  "message":"Virtual dealer policy is used by a route"
}

Update or delete the referencing route before deleting the policy. An unknown policy returns HTTP 404.