API: device-groups
GET /api/groups#
List Groups
Berechtigung policy.read (ansehen)
Antwort 200
POST /api/groups#
Create Group
Berechtigung policy.write (vorbereiten)
Anfrage-Body GroupWrite
3 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
description | string | default: "" · maxLength 2000 |
host_ids | string (uuid)[] | |
name * | string | minLength 1, maxLength 120 |
Antwort 201
PUT /api/groups/{group_id}#
Update Group
Berechtigung policy.write (vorbereiten)
Parameter
group_id * | path | string (uuid) |
Anfrage-Body GroupUpdate
4 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
description | string | default: "" · maxLength 2000 |
host_ids | string (uuid)[] | |
name * | string | minLength 1, maxLength 120 |
preview_token | string | null |
Antwort 200
DELETE /api/groups/{group_id}#
Delete Group
Berechtigung policy.write (vorbereiten)
Parameter
group_id * | path | string (uuid) |
Antwort 204
POST /api/groups/{group_id}/preview#
Preview Group
Berechtigung policy.write (vorbereiten)
Parameter
group_id * | path | string (uuid) |
Anfrage-Body GroupWrite
3 Felder anzeigen
| Feld | Typ | Hinweise |
|---|---|---|
description | string | default: "" · maxLength 2000 |
host_ids | string (uuid)[] | |
name * | string | minLength 1, maxLength 120 |