---
title: "Deletes an automation workflow rule."
url: "https://earlyaccess.developers.bynder.com/apis/automation-workflow-api-1/versions/428d2b99-ec99-455a-8d22-c0d61a9bb810/operations/deleteRulesRuleid"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/automation-workflow-api-1/versions/428d2b99-ec99-455a-8d22-c0d61a9bb810.md

# Deletes an automation workflow rule.

`DELETE` `/rules/{ruleId}`

Operation ID: `deleteRulesRuleid`

Deletes an automation workflow rule by its ID.

## Path parameters

- `ruleId` (string, required)

## Responses

- `204`
- `400`
- `401`
- `404`

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Automation Workflow API
  version: 1.0.0
servers:
  - url: https://{your-bynder-domain}/api/1/automation-workflow/
paths:
  /rules/{ruleId}:
    delete:
      description: Deletes an automation workflow rule by its ID.
      operationId: deleteRulesRuleid
      parameters:
        - in: path
          name: ruleId
          required: true
          schema:
            type: string
      responses:
        "204":
          description: ""
        "400":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponse"
          description: ""
        "401":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorAuthorizationResponse"
          description: ""
        "404":
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/ErrorResponseNotFound"
          description: ""
      security:
        - {}
        - httpAuth: []
      summary: Deletes an automation workflow rule.
      tags:
        - Automation Workflow Rules
security:
  - {}
  - httpAuth: []
components:
  schemas:
    ErrorResponse:
      properties:
        message:
          type: string
      required:
        - message
      title: ErrorResponse
      type: object
    ErrorAuthorizationResponse:
      properties:
        message:
          type: string
      required:
        - message
      title: ErrorAuthorizationResponse
      type: object
    ErrorResponseNotFound:
      properties:
        message:
          type: string
      required:
        - message
      title: ErrorResponseNotFound
      type: object
  securitySchemes:
    httpAuth:
      scheme: bearer
      type: http
```
