fastly-api 1.3.0

Fastly API client
Documentation
# ContactApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**delete_contact**]ContactApi.md#delete_contact | **DELETE** /customer/{customer_id}/contact/{contact_id} | Delete a contact
[**list_contacts**]ContactApi.md#list_contacts | **GET** /customer/{customer_id}/contacts | List contacts



## delete_contact

Delete a contact.

```rust
let cfg = &Configuration::default();
let params = DeleteContactParams {
    // parameters
};
delete_contact(cfg, params)
```

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**customer_id** | **String** | Alphanumeric string identifying the customer. | [required] |
**contact_id** | **String** | An alphanumeric string identifying the customer contact. | [required] |

### Return type

[**crate::models::InlineResponse200**](InlineResponse200.md)

### Authorization

[token](../README.md#token)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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


## list_contacts

List all contacts from a specified customer ID.

```rust
let cfg = &Configuration::default();
let params = ListContactsParams {
    // parameters
};
list_contacts(cfg, params)
```

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**customer_id** | **String** | Alphanumeric string identifying the customer. | [required] |

### Return type

[**Vec<crate::models::SchemasContactResponse>**](SchemasContactResponse.md)

### Authorization

[token](../README.md#token)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

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