docs/VoicemailApi.md in purecloudplatformclientv2-3.1.7 vs docs/VoicemailApi.md in purecloudplatformclientv2-4.0.0
- old
+ new
@@ -32,11 +32,11 @@
[**put_voicemail_policy**](VoicemailApi.html#put_voicemail_policy) | Update a policy
{: class="table table-striped"}
<a name="delete_voicemail_message"></a>
-## -String** delete_voicemail_message(message_id)
+## - delete_voicemail_message(message_id)
Delete a message.
@@ -63,12 +63,11 @@
message_id = "message_id_example" # String | Message ID
begin
#Delete a message.
- result = api_instance.delete_voicemail_message(message_id)
- p result
+ api_instance.delete_voicemail_message(message_id)
rescue PureCloud::ApiError => e
puts "Exception when calling VoicemailApi->delete_voicemail_message: #{e}"
end
~~~
@@ -80,22 +79,22 @@
{: class="table table-striped"}
### Return type
-**String**
+nil (empty response body)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json
<a name="delete_voicemail_messages"></a>
-## -String** delete_voicemail_messages
+## - delete_voicemail_messages
Delete all voicemail messages
@@ -119,12 +118,11 @@
api_instance = PureCloud::VoicemailApi.new
begin
#Delete all voicemail messages
- result = api_instance.delete_voicemail_messages
- p result
+ api_instance.delete_voicemail_messages
rescue PureCloud::ApiError => e
puts "Exception when calling VoicemailApi->delete_voicemail_messages: #{e}"
end
~~~
@@ -133,10 +131,10 @@
{: class="table table-striped"}
### Return type
-**String**
+nil (empty response body)
### HTTP request headers
- **Content-Type**: application/json
- **Accept**: application/json