---
title: "POST /DeleteArtifact"
method: POST
path: "/DeleteArtifact"
---

# POST /DeleteArtifact

`POST /DeleteArtifact`

Deletes an artifact from an agent space.

## Request body

- object
  - `agentSpaceId` string, required — Unique identifier of the agent space.
  - `artifactId` string, required — The id of the artifact.

## Response `200`

Success

- DeleteArtifactOutput

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

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