docs/KeysApi.md in phrase-1.0.14 vs docs/KeysApi.md in phrase-2.0.0
- old
+ new
@@ -6,11 +6,11 @@
------------- | ------------- | -------------
[**key_create**](KeysApi.md#key_create) | **POST** /projects/{project_id}/keys | Create a key
[**key_delete**](KeysApi.md#key_delete) | **DELETE** /projects/{project_id}/keys/{id} | Delete a key
[**key_show**](KeysApi.md#key_show) | **GET** /projects/{project_id}/keys/{id} | Get a single key
[**key_update**](KeysApi.md#key_update) | **PATCH** /projects/{project_id}/keys/{id} | Update a key
-[**keys_delete**](KeysApi.md#keys_delete) | **DELETE** /projects/{project_id}/keys | Delete collection of keys
+[**keys_delete_collection**](KeysApi.md#keys_delete_collection) | **DELETE** /projects/{project_id}/keys | Delete collection of keys
[**keys_list**](KeysApi.md#keys_list) | **GET** /projects/{project_id}/keys | List keys
[**keys_search**](KeysApi.md#keys_search) | **POST** /projects/{project_id}/keys/search | Search keys
[**keys_tag**](KeysApi.md#keys_tag) | **PATCH** /projects/{project_id}/keys/tag | Add tags to collection of keys
[**keys_untag**](KeysApi.md#keys_untag) | **PATCH** /projects/{project_id}/keys/untag | Remove tags from collection of keys
@@ -271,13 +271,13 @@
- **Content-Type**: application/json
- **Accept**: application/json
-## keys_delete
+## keys_delete_collection
-> AffectedResources keys_delete(project_id, opts)
+> AffectedResources keys_delete_collection(project_id, opts)
Delete collection of keys
Delete all keys matching query. Same constraints as list. Please limit the number of affected keys to about 1,000 as you might experience timeouts otherwise.
@@ -306,13 +306,13 @@
locale_id: 'abcd1234abcd1234abcd1234abcd1234' # String | Locale used to determine the translation state of a key when filtering for untranslated or translated keys.
}
begin
#Delete collection of keys
- result = api_instance.keys_delete(project_id, opts)
+ result = api_instance.keys_delete_collection(project_id, opts)
pp result
rescue Phrase::ApiError => e
- puts "Exception when calling KeysApi->keys_delete: #{e}"
+ puts "Exception when calling KeysApi->keys_delete_collection: #{e}"
end
```
### Parameters