Method: Orchestrate::Client#delete_collection

Defined in:
lib/orchestrate/client.rb

#delete_collection(collection) ⇒ Object

Note:

The Orchestrate API will return succesfully regardless of if the collection exists or not.

Deletes an entire collection

Parameters:

  • collection (#to_s)

    The name of the collection

Returns:

  • Orchestrate::API::Response

[View source]

84
85
86
# File 'lib/orchestrate/client.rb', line 84

def delete_collection(collection)
  send_request :delete, [collection], { query: {force:true} }
end