---
title: "Delete action"
url: "https://nov18-dev.movespot.fyi/apis/internal-pdp-auth-admin-api-v1-1/versions/65945f7f-ee1f-40d6-be36-704dd7f85fcb/operations/deleteAction"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/internal-pdp-auth-admin-api-v1-1/versions/65945f7f-ee1f-40d6-be36-704dd7f85fcb.md

# Delete action

`DELETE` `/actions/{actionId}`

Operation ID: `deleteAction`

Deletes an action

## Path parameters

- `actionId` (string, required) - Unique identifier of the action

## Responses

- `204` - Action deleted successfully
- `404` - Not Found

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Internal PDP Auth Admin API v1
  version: 1.0.0
servers:
  - url: http://authorization-admin-api.kauth.svc.cluster.local:8000/v1
    description: Konnect cluster
paths:
  /actions/{actionId}:
    parameters:
      - name: actionId
        in: path
        description: Unique identifier of the action
        required: true
        schema:
          type: string
    delete:
      operationId: deleteAction
      summary: Delete action
      description: Deletes an action
      responses:
        "204":
          description: Action deleted successfully
        "404":
          $ref: "#/components/responses/NotFound"
      tags:
        - Actions
components:
  responses:
    NotFound:
      description: Not Found
      content:
        application/problem+json:
          schema:
            $ref: "#/components/schemas/NotFoundError"
          examples:
            NotFoundExample:
              $ref: "#/components/examples/NotFoundExample"
  schemas:
    NotFoundError:
      allOf:
        - $ref: "#/components/schemas/BaseError"
        - type: object
          properties:
            status:
              example: 404
            title:
              example: Not Found
            type:
              example: https://httpstatuses.com/404
            instance:
              example: kong:trace:1234567890
            detail:
              example: Not found
    BaseError:
      description: standard error
      type: object
      properties:
        status:
          description: >
            The HTTP status code of the error. Useful when passing the response

            body to child properties in a frontend UI. Must be returned as an
            integer.
          type: integer
          readOnly: true
        title:
          description: |
            A short, human-readable summary of the problem. It should not
            change between occurences of a problem, except for localization.
            Should be provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
        type:
          description: The error type.
          type: string
          readOnly: true
        instance:
          description: |
            Used to return the correlation ID back to the user, in the format
            kong:trace:<correlation_id>. This helps us find the relevant logs
            when a customer reports an issue.
          type: string
          readOnly: true
        detail:
          description: >
            A human readable explanation specific to this occurence of the
            problem.

            This field may contain request/entity data to help the user
            understand

            what went wrong. Enclose variable values in square brackets. Should
            be

            provided as "Sentence case" for direct use in the UI.
          type: string
          readOnly: true
      required:
        - status
        - title
        - instance
        - detail
      title: Error
  examples:
    NotFoundExample:
      value:
        status: 404
        title: Not Found
        instance: kong:trace:6816496025408232265
        detail: Not Found
```
