Deletes a vehicle group of the organization the API key belongs to. The vehicles in it are not deleted.
Input. groupId in the path, the 24-character id from List vehicle groups.
Response. 200 with { success: true }.
Notes. The organization must have created the group, or have the admin role on a group another organization shares with it; otherwise 403. A group that an alert uses answers 409; change the alert first.
Side effects. The Cores that used the group stop matching its vehicles. This cannot be undone: create the group again and add its vehicles.
Request examples
DELETE /v1/vehicle-api/groups/6512bd43d9caa6e02c990b0a| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400groupId is not a 24-character id.
401Missing or invalid API key.
403Another organization shares the vehicle group with this one without the admin role.
404Vehicle group not found in this organization.
409An alert uses the vehicle group.
429Too many requests. Try again later.
500Internal server error.
