---
title: "DELETE /v1/agentspaces/{agentSpaceId}"
method: DELETE
path: "/v1/agentspaces/{agentSpaceId}"
---

# DELETE /v1/agentspaces/{agentSpaceId}

`DELETE /v1/agentspaces/{agentSpaceId}`

Deletes an AgentSpace. This operation is idempotent and returns a 204 No Content response on success.

## Path parameters

- `agentSpaceId` string, required — Unique identifier for an agent space (allows alphanumeric characters and hyphens; 1-64 characters)

## Response `204`

Success

- DeleteAgentSpaceOutput — Empty output for successful AgentSpace deletion.

## Other responses

- `480` — ValidationException
- `481` — ContentSizeExceededException
- `482` — ServiceQuotaExceededException
- `483` — ConflictException
- `484` — InternalServerException
- `485` — AccessDeniedException
- `486` — ResourceNotFoundException
- `487` — ThrottlingException
- `488` — InvalidParameterException

---

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