agentcat-api 0.0.3

Generated Rust client for the AgentCat API, consumed by agentcat-sdk.
Documentation
# \AlertsApi

All URIs are relative to *https://api.agentcat.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**unsubscribe_alert_get**]AlertsApi.md#unsubscribe_alert_get | **GET** /v1/public/alerts/unsubscribe | Show the confirmation page for removing an email address from one alert rule
[**unsubscribe_alert_post**]AlertsApi.md#unsubscribe_alert_post | **POST** /v1/public/alerts/unsubscribe | Remove an email address from one alert rule (List-Unsubscribe-Post and the confirmation form)



## unsubscribe_alert_get

> String unsubscribe_alert_get(token)
Show the confirmation page for removing an email address from one alert rule

GET, the link in the email, shows a confirmation page and changes nothing, because mail scanners fetch links. POST removes the address from the rule; the page's form and the List-Unsubscribe-Post header both send it. POST is idempotent.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**token** | Option<**String**> |  |  |

### Return type

**String**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/html, text/plain, application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## unsubscribe_alert_post

> String unsubscribe_alert_post(token)
Remove an email address from one alert rule (List-Unsubscribe-Post and the confirmation form)

GET, the link in the email, shows a confirmation page and changes nothing, because mail scanners fetch links. POST removes the address from the rule; the page's form and the List-Unsubscribe-Post header both send it. POST is idempotent.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**token** | Option<**String**> |  |  |

### Return type

**String**

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: text/plain, application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)