# Delete an automation rule Deletes an automation rule. Endpoint: DELETE /sheets/{sheetId}/automationrules/{automationRuleId} Version: 2.0.0 Security: APIToken, OAuth2 ## Path parameters: - `sheetId` (number, required) Sheet Id of the sheet being accessed. - `automationRuleId` (string, required) The Id of an Automation Rule ## Header parameters: - `Authorization` (string) API Access Token used to authenticate requests to Smartsheet APIs. Example: "Bearer JKlMNOpQ12RStUVwxYZAbcde3F5g6hijklM789" - `smartsheet-integration-source` (string) Uses the following metadata to distinguish between human-initiated API requests and third-party service-initiated calls by AI Connectors or ITSM: - Integration source type - Organization name - Integration source name Format: TYPE,OrgName,SourceName Examples: AI,SampleOrg,My-AI-Connector-v2 SCRIPT,SampleOrg2,Accounting-updater-script APPLICATION,SampleOrg3,SheetUpdater Example: "AI,SampleOrg,My-AI-Connector-v2" ## Response 200 fields (application/json): - `version` (number,null) New version of the sheet. Applicable only for operations which update sheet data. - `failedItems` (array,null) Array of BulkItemFailure objects which represents the items that failed to be added or updated. See [Bulk operations > Partial success](/api/smartsheet/guides/advanced-topics/scalability-options) for more information. Applicable only for bulk operations that support partial success. - `failedItems.rowId` (number,null) The Id of the row that failed. Applicable only to bulk row operations. - `failedItems.error` (object) The error caused by the failed item. - `failedItems.error.refId` (string) The Id of the specific error occurrence. Please include this information when contacting Smartsheet support. - `failedItems.error.errorCode` (number) Custom error code from Smartsheet. See the complete [Error Code List](/api/smartsheet/error-codes). - `failedItems.error.message` (string) Descriptive error message. - `failedItems.index` (number) The index of the failed item in the bulk request array. - `message` (string) Message that indicates the outcome of the request. (One of SUCCESS or PARTIAL_SUCCESS.) Enum: "PARTIAL_SUCCESS", "SUCCESS" - `resultCode` (number) * '0' Success * '3' Partial Success of Bulk Operation Enum: 0, 3