---
title: "Calls SPIRE server `spire-server agent evict` command"
method: DELETE
path: "/api/v1/spire/agents"
---

# Calls SPIRE server `spire-server agent evict` command

`DELETE /api/v1/spire/agents`

Evict attested node given spiffeID so node is not able to re-attest

## Request body

- SpiffeId
  - `path` string
  - `trust_domain` string

## Response `200`

OK

- string

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/spiffe/apis/tornjak.md) · [All operations](https://skmtc.net/spiffe/apis/tornjak/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spiffe/tornjak/versions/5d58d68f79cd/schema)
