v1Resources/Locations/deleteDelete a location group

Delete a location group

Takes every location out, the way removing locations does, then deletes the group. If any directory could not remove a location, the group is kept (`deleted: false`) with the failures returned, so you can try again. Needs access to every location's client in the group.

delete/api/v1/location-groups/{groupId}
locations:write
Query parameters
groupIdstringrequired
The location group's id.
Errors
400The request is missing a required parameter or is otherwise malformed.
401Missing, invalid, expired, or revoked API key.
403The key lacks the required scope, or isn't authorized for this client/location.
404The resource wasn't found, or doesn't belong to your agency.
429Too many requests. Retry after the number of seconds in the Retry-After header.
delete/api/v1/location-groups/{groupId}
Your API key
groupId *
{}

Guides that use this resource