---
title: "Delete server action"
method: DELETE
path: "/v1/server-actions/{action-id}"
tags: ["Server Actions"]
---

# Delete server action

`DELETE /v1/server-actions/{action-id}`

Delete a server action. The action cannot be deleted if it is currently
used in any event processing policy rule.

## Path parameters

- `action-id` integer, required

## Response `204`

Server action deleted successfully

## Other responses

- `400` — Invalid action ID
- `401` — Unauthorized
- `403` — User does not have MANAGE_ACTIONS access right
- `404` — Server action not found
- `409` — Action is used in event processing policy
- `500` — Database failure

---

[API](https://skmtc.net/netxms/apis/netxms-api.md) · [All operations](https://skmtc.net/netxms/apis/netxms-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/netxms/netxms-api/versions/14d93e5115dd/schema)
