docs/AutomationTokensApi.md in fastly-5.2.2 vs docs/AutomationTokensApi.md in fastly-5.3.0
- old
+ new
@@ -172,11 +172,11 @@
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)
## `revoke_automation_token_id()`
```ruby
-revoke_automation_token_id(opts) # Revoke an Automation Token by ID
+revoke_automation_token_id(opts): <ErrorResponse> # Revoke an Automation Token by ID
```
Revoke an automation token by ID.
### Examples
@@ -187,11 +187,12 @@
id: 'id_example', # String |
}
begin
# Revoke an Automation Token by ID
- api_instance.revoke_automation_token_id(opts)
+ result = api_instance.revoke_automation_token_id(opts)
+ p result
rescue Fastly::ApiError => e
puts "Error when calling AutomationTokensApi->revoke_automation_token_id: #{e}"
end
```
@@ -201,9 +202,9 @@
| ---- | ---- | ----------- | ----- |
| **id** | **String** | | |
### Return type
-nil (empty response body)
+[**ErrorResponse**](ErrorResponse.md)
[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)