Skip to content

`DELETE /v1/orgs/{org}/groups/{group_id}`.

DELETE
/v1/orgs/{org}/groups/{group_id}
curl --request DELETE \
--url https://api.updawg.net/v1/orgs/example/groups/example
org
required
string

Organization slug.

group_id
required
string

The grp_… id.

Deleted. Its hosts are untouched; what pointed at it is listed.

Media typeapplication/json
object
policies_naming_it
required

Live policies whose selector names it. Not changed — they are the operator’s text — and now match nothing of it.

Array<string>
proposals_unlinked
required

Proposals that pointed at the group, now pointing at none.

integer format: int64
tokens_unlinked
required

Enrollment tokens whose default group it was, now with none.

integer format: int64
Examplegenerated
{
"policies_naming_it": [
"example"
],
"proposals_unlinked": 1,
"tokens_unlinked": 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 group 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"
}