Fastly TLS Activations API

Operations for managing TLS activations that enable TLS traffic termination for specific domains using custom certificates.

Operations 5

GET /tls/activations List TLS activations #
POST /tls/activations Create a TLS activation #
GET /tls/activations/{tls_activation_id} Get a TLS activation #
PATCH /tls/activations/{tls_activation_id} Update a TLS activation #
DELETE /tls/activations/{tls_activation_id} Delete a TLS activation #

Documentation

📖
Documentation
https://www.fastly.com/documentation/reference/api/services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/purging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/logging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/metrics-stats/
📖
Documentation
https://www.fastly.com/documentation/reference/api/tls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/vcl-services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/account/
📖
Documentation
https://www.fastly.com/documentation/reference/api/auth-tokens/
📖
Documentation
https://www.fastly.com/documentation/reference/api/acls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/dictionaries/
📖
Documentation
https://www.fastly.com/documentation/guides/compute/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ngwaf/
📖
Documentation
https://www.fastly.com/documentation/reference/api/domain-management/
📖
Documentation
https://www.fastly.com/documentation/reference/api/products/
📖
Documentation
https://www.fastly.com/documentation/reference/api/observability/
📖
Documentation
https://www.fastly.com/documentation/reference/api/api-security/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ddos-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/client-side-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/publishing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/load-balancing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/utils/
📖
Documentation
https://www.fastly.com/products/ai
📖
Documentation
https://www.fastly.com/products/object-storage

Specifications

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/fastly-tls-activations-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

fastly-tls-activations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Fastly TLS TLS Activations API
  description: The Fastly TLS API enables developers to manage TLS certificates, private keys, and domain configurations for securing traffic delivered through Fastly's edge network. It supports both platform TLS (managed certificates) and custom TLS configurations where customers bring their own certificates. The API allows uploading certificates, managing bulk certificate operations, configuring TLS activations, and managing mutual TLS authentication for origin connections.
  version: '1.0'
  contact:
    name: Fastly Support
    url: https://support.fastly.com
  termsOfService: https://www.fastly.com/terms
servers:
- url: https://api.fastly.com
  description: Fastly API Production Server
security:
- apiKeyAuth: []
tags:
- name: TLS Activations
  description: Operations for managing TLS activations that enable TLS traffic termination for specific domains using custom certificates.
paths:
  /tls/activations:
    get:
      operationId: listTlsActivations
      summary: List TLS activations
      description: Retrieves a list of all TLS activations that enable TLS traffic termination for specific domains.
      tags:
      - TLS Activations
      parameters:
      - name: page[number]
        in: query
        description: The page number to retrieve.
        schema:
          type: integer
      - name: page[size]
        in: query
        description: The number of items per page.
        schema:
          type: integer
      - name: filter[tls_certificate.id]
        in: query
        description: Filter activations by TLS certificate ID.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the list of TLS activations.
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/TlsActivation'
        '401':
          description: Unauthorized. The API token is missing or invalid.
    post:
      operationId: createTlsActivation
      summary: Create a TLS activation
      description: Enables TLS traffic termination for a specific domain using the specified certificate and configuration.
      tags:
      - TLS Activations
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                      - tls_activation
                    relationships:
                      type: object
                      properties:
                        tls_certificate:
                          type: object
                          description: The TLS certificate to use for the activation.
                        tls_configuration:
                          type: object
                          description: The TLS configuration to use for the activation.
                        tls_domain:
                          type: object
                          description: The TLS domain to activate.
      responses:
        '201':
          description: Successfully created the TLS activation.
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/TlsActivation'
        '400':
          description: Bad request. Missing or invalid activation data.
        '401':
          description: Unauthorized. The API token is missing or invalid.
  /tls/activations/{tls_activation_id}:
    get:
      operationId: getTlsActivation
      summary: Get a TLS activation
      description: Retrieves the details of a specific TLS activation.
      tags:
      - TLS Activations
      parameters:
      - name: tls_activation_id
        in: path
        required: true
        description: The alphanumeric string identifying the TLS activation.
        schema:
          type: string
      responses:
        '200':
          description: Successfully retrieved the TLS activation.
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/TlsActivation'
        '401':
          description: Unauthorized. The API token is missing or invalid.
        '404':
          description: TLS activation not found.
    patch:
      operationId: updateTlsActivation
      summary: Update a TLS activation
      description: Updates a TLS activation, such as changing the certificate used for the domain.
      tags:
      - TLS Activations
      parameters:
      - name: tls_activation_id
        in: path
        required: true
        description: The alphanumeric string identifying the TLS activation.
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/vnd.api+json:
            schema:
              type: object
              properties:
                data:
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                      - tls_activation
                    relationships:
                      type: object
                      properties:
                        tls_certificate:
                          type: object
                          description: The TLS certificate to use.
      responses:
        '200':
          description: Successfully updated the TLS activation.
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/TlsActivation'
        '401':
          description: Unauthorized. The API token is missing or invalid.
        '404':
          description: TLS activation not found.
    delete:
      operationId: deleteTlsActivation
      summary: Delete a TLS activation
      description: Disables TLS for the domain by removing the TLS activation.
      tags:
      - TLS Activations
      parameters:
      - name: tls_activation_id
        in: path
        required: true
        description: The alphanumeric string identifying the TLS activation.
        schema:
          type: string
      responses:
        '204':
          description: Successfully deleted the TLS activation.
        '401':
          description: Unauthorized. The API token is missing or invalid.
        '404':
          description: TLS activation not found.
components:
  schemas:
    TlsActivation:
      type: object
      description: A TLS activation that enables TLS traffic termination for a specific domain using a custom certificate and configuration.
      properties:
        id:
          type: string
          description: The alphanumeric string identifying the TLS activation.
        type:
          type: string
          description: The resource type.
          enum:
          - tls_activation
        attributes:
          type: object
          properties:
            created_at:
              type: string
              format: date-time
              description: The date and time the activation was created.
        relationships:
          type: object
          properties:
            tls_certificate:
              type: object
              description: The TLS certificate used for the activation.
            tls_configuration:
              type: object
              description: The TLS configuration used for the activation.
            tls_domain:
              type: object
              description: The domain the activation is for.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Fastly-Key
      description: API token used to authenticate requests to the Fastly API.
externalDocs:
  description: Fastly TLS API Documentation
  url: https://www.fastly.com/documentation/reference/api/tls/