`DELETE /v1/orgs/{org}/hosts/{host_id}` — decommission (DAWG-285).
DELETE
/v1/orgs/{org}/hosts/{host_id}
const url = 'https://api.updawg.net/v1/orgs/example/hosts/example';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.updawg.net/v1/orgs/example/hosts/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Organization slug.
host_id
required
string
The hst_… id.
Responses
Section titled “Responses”Decommissioned, or already was. The gateway refuses the host from its next request; the row stays, so its history does too.
Media typeapplication/json
object
already
required
It already was; nothing changed.
boolean
decommissioned_at
required
string format: date-time
proposals_closed
required
Of those, the ones it left empty — now closed as obsolete.
integer
proposals_left
required
Proposals nobody had approved that the host was taken out of.
integer
Examplegenerated
{ "already": true, "decommissioned_at": "2026-04-15T12:00:00Z", "proposals_closed": 1, "proposals_left": 1}No session.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such host here.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string
Examplegenerated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}