Skip to content
Skip to Content
Coder Docs

Delete devcontainer for workspace agent

DELETE
/api/v2/workspaceagents/{workspaceagent}/containers/devcontainers/{devcontainer}

Authorization

CoderSessionToken
headerCoder-Session-Token<token>

Path Parameters

workspaceagent*string

Workspace agent ID

Formatuuid
devcontainer*string

Devcontainer ID

Response Body

No Content

The samples read CODER_URL and CODER_SESSION_TOKEN: set up your environment.

curl -X DELETE \	"$CODER_URL/api/v2/workspaceagents/{workspaceagent}/containers/devcontainers/{devcontainer}" \	-H "Coder-Session-Token: $CODER_SESSION_TOKEN"
Example Response204
Empty