Discard a draft runbook

 

Updated: May 26, 2016

The Discard a draft runbook task discards the edits made to a runbook draft.

To specify the request, replace {subscription-id} with your subscription ID, {resource-group-name} with the name of your resource group, {automation-account-name} with the name of the automation account, and {runbook-name} wiht the name of the runbook.

Method

Request URI

DELETE

https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.Automation/automationAccounts/{automation-account-name}/runbook/{runbook-name}/draft/undoEdit?api-version=2015-10-31

URI parameter

Description

api-version

Required. Valid values include 2015-10-31

200

For information about common error codes, see Service Management Status and Error Codes

Show: