Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
delete_bulk_tls_cert | DELETE /tls/bulk/certificates/{certificate_id} | Delete a certificate |
get_tls_bulk_cert | GET /tls/bulk/certificates/{certificate_id} | Get a certificate |
list_tls_bulk_certs | GET /tls/bulk/certificates | List certificates |
update_bulk_tls_cert | PATCH /tls/bulk/certificates/{certificate_id} | Update a certificate |
upload_tls_bulk_cert | POST /tls/bulk/certificates | Upload a certificate |
Destroy a certificate. This disables TLS for all domains listed as SAN entries.
let cfg = &Configuration::default();
let params = DeleteBulkTlsCertParams {
// parameters
};
delete_bulk_tls_cert(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
certificate_id | String | Alphanumeric string identifying a TLS bulk certificate. | [required] |
(empty response body)
- Content-Type: Not defined
- Accept: Not defined
[Back to top] [Back to API list] [Back to README]
Retrieve a single certificate.
let cfg = &Configuration::default();
let params = GetTlsBulkCertParams {
// parameters
};
get_tls_bulk_cert(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
certificate_id | String | Alphanumeric string identifying a TLS bulk certificate. | [required] |
crate::models::TlsBulkCertificateResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
List all certificates.
let cfg = &Configuration::default();
let params = ListTlsBulkCertsParams {
// parameters
};
list_tls_bulk_certs(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
filter_tls_domain_id | Option<String> | Filter certificates by their matching, fully-qualified domain name. | ||
page_number | Option<i32> | Current page. | ||
page_size | Option<i32> | Number of records per page. | [default to 20] | |
sort | Option<String> | The order in which to list the results by creation date. | [default to created_at] |
crate::models::TlsBulkCertificatesResponse
- Content-Type: Not defined
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Replace a certificate with a newly reissued certificate. By using this endpoint, the original certificate will cease to be used for future TLS handshakes. Thus, only SAN entries that appear in the replacement certificate will become TLS enabled. Any SAN entries that are missing in the replacement certificate will become disabled.
let cfg = &Configuration::default();
let params = UpdateBulkTlsCertParams {
// parameters
};
update_bulk_tls_cert(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
certificate_id | String | Alphanumeric string identifying a TLS bulk certificate. | [required] | |
tls_bulk_certificate | Option<TlsBulkCertificate> |
crate::models::TlsBulkCertificateResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
[Back to top] [Back to API list] [Back to README]
Upload a new certificate. TLS domains are automatically enabled upon certificate creation. If a domain is already enabled on a previously uploaded certificate, that domain will be updated to use the new certificate for all future TLS handshake requests.
let cfg = &Configuration::default();
let params = UploadTlsBulkCertParams {
// parameters
};
upload_tls_bulk_cert(cfg, params)
Name | Type | Description | Required | Notes |
---|---|---|---|---|
tls_bulk_certificate | Option<TlsBulkCertificate> |
crate::models::TlsBulkCertificateResponse
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json