Skip to content

Instantly share code, notes, and snippets.

@edwardt
Forked from DBLaw/gist:4069193
Created August 3, 2014 03:48
Show Gist options
  • Select an option

  • Save edwardt/dc003be55caf21d1da15 to your computer and use it in GitHub Desktop.

Select an option

Save edwardt/dc003be55caf21d1da15 to your computer and use it in GitHub Desktop.
Meters can be listed with:
curl -i -u [apikey]: https://api.boundary.com/[org_id]/meters
And deleted with:
DELETE https://api.boundary.com/[org_id]/meters/[meter-id]
Delete with curl is, e.g.:
curl -X DELETE -i -u [apikey]: https://api.boundary.com/[org_id]/meters/[meter_id]
So if you can cross reference the list against your inventory from AWS, you can use the above API request to cleanup old meters.
The meter manager API documentation, including the structure of responses from both of those endpoints is here (you'll need to log in to access it): https://app.boundary.com/docs/metermgr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment