/groups/:id

Delete an existing group

require 'uri'
require 'net/http'
require 'json'

url = URI('https://api.keeptruckin.com/v1/groups/1')

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Delete.new(url)
request['Authorization'] = "Bearer <OAUTH_TOKEN>"

response = http.request(request)
puts response.read_body
Language
Credentials
Header
Click Try It! to start a request and see the response here!