`DELETE /v1/orgs/{org}/groups/{group_id}`.
DELETE
/v1/orgs/{org}/groups/{group_id}
const url = 'https://api.updawg.net/v1/orgs/example/groups/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/groups/exampleParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”org
required
string
Organization slug.
group_id
required
string
The grp_… id.
Responses
Section titled “Responses”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"}