> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flowent.chat/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete an action

> Delete an action from your tenant



## OpenAPI

````yaml api-reference/openapi.json delete /actions/{name}
openapi: 3.1.0
info:
  title: Flowent API Gateway
  description: >-
    The Flowent API Gateway enables external developers to register and manage
    custom actions that can be used within Flowent's conversational flows. This
    API provides secure, tenant-specific extensibility for the Flowent platform.


    ## Authentication


    1. Obtain an API token from the Flowent admin panel

    2. Exchange the API token for a JWT token using the `/token/exchange`
    endpoint

    3. Use the JWT token as a Bearer token in the Authorization header for all
    requests


    ## Security


    All webhook calls are secured with HMAC-SHA256 signatures using
    tenant-specific keys.
  version: 1.0.0
  contact:
    name: Flowent API Support
    url: https://flowent.chat/support
    email: contact@flowent.chat
servers:
  - url: https://api.flowent.chat/api/v1/gateway
    description: Production server
  - url: https://staging-api.flowent.chat/api/v1/gateway
    description: Staging server
  - url: http://localhost:8080/api/v1/gateway
    description: Local development server
security: []
tags:
  - name: Authentication
    description: Token exchange and authentication operations
  - name: Actions
    description: Action registration and management operations
paths:
  /actions/{name}:
    parameters:
      - name: name
        in: path
        required: true
        description: Action name
        schema:
          type: string
          pattern: ^[a-z0-9_]+$
          example: send_email
    delete:
      tags:
        - Actions
      summary: Delete an action
      description: Delete an action from your tenant
      operationId: deleteAction
      responses:
        '200':
          description: Action deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Action deleted successfully
        '401':
          $ref: '#/components/responses/UnauthorizedError'
        '404':
          $ref: '#/components/responses/NotFoundError'
      security:
        - BearerAuth: []
components:
  responses:
    UnauthorizedError:
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Invalid token
    NotFoundError:
      description: Resource not found
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Action not found
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: JWT token obtained from token exchange

````