> ## Documentation Index
> Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Activate a Tyk Dashboard connection

> Probes the Dashboard and makes the connection usable. Recorded in the audit trail.



## OpenAPI

````yaml /swagger/5.16/ai-studio-swagger.yml post /tyk-connections/{id}/activate
openapi: 3.0.1
info:
  title: Midsommar API
  description: This is the API for the Midsommar user and group management system.
  termsOfService: http://swagger.io/terms/
  contact:
    name: API Support
    url: http://www.swagger.io/support
    email: support@swagger.io
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
servers:
  - url: //localhost:8080/api/v1
security: []
paths:
  /tyk-connections/{id}/activate:
    post:
      tags:
        - TykMCP
      summary: Activate a Tyk Dashboard connection
      description: >-
        Probes the Dashboard and makes the connection usable. Recorded in the
        audit trail.
      parameters:
        - name: id
          in: path
          description: Connection ID
          required: true
          schema:
            type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.TykConnectionResponse'
        '422':
          description: Unprocessable Entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/models.ErrorResponse'
components:
  schemas:
    models.TykConnectionResponse:
      type: object
      properties:
        accept_handoffs:
          type: boolean
        activated_at:
          type: string
        activated_by_email:
          type: string
        activated_by_user_id:
          type: integer
        allow_internal_host:
          type: boolean
        auto_publish:
          type: boolean
        capabilities:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/models.TykCapability'
        created_at:
          type: string
        created_by_email:
          type: string
        created_by_user_id:
          type: integer
        dashboard_url:
          type: string
        data_planes:
          type: array
          items:
            $ref: '#/components/schemas/models.TykDataPlane'
        declared_mode:
          type: string
        default_privacy_score:
          type: integer
        degraded:
          type: boolean
        degraded_reason:
          type: string
        description:
          type: string
        effective_mode:
          type: string
        gateway_api_id_prefix:
          type: string
        gateway_base_url:
          type: string
        gateway_base_urls:
          type: object
          additionalProperties:
            type: string
        gateway_discovery:
          type: string
        gateway_node_urls:
          type: array
          items:
            type: string
        gateway_shared_storage:
          type: boolean
        gateway_tags:
          type: array
          items:
            type: string
        has_mdcb_token:
          type: boolean
        has_token:
          type: boolean
        host_managed:
          type: boolean
        id:
          type: integer
        key_defaults:
          $ref: '#/components/schemas/models.TykKeyDefaults'
        kind:
          type: string
        known_gateway_tags:
          type: array
          items:
            $ref: '#/components/schemas/models.TykGatewayTag'
        last_mdcb_probe_at:
          type: string
        last_probe_at:
          type: string
        last_sync_at:
          type: string
        last_sync_error:
          type: string
        last_sync_status:
          type: string
        lock_version:
          type: integer
        mdcb_allow_internal_host:
          type: boolean
        mdcb_url:
          type: string
        name:
          type: string
        next_sync_at:
          type: string
        org_id:
          type: string
        status:
          type: string
        sync_interval_seconds:
          type: integer
        template_id:
          type: string
        token_hint:
          type: string
        updated_at:
          type: string
    models.ErrorResponse:
      type: object
      properties:
        errors:
          type: array
          items:
            type: object
            properties:
              detail:
                type: string
              title:
                type: string
    models.TykCapability:
      type: object
      properties:
        checked_at:
          type: string
        detail:
          type: string
        state:
          type: string
    models.TykDataPlane:
      type: object
      properties:
        group_id:
          type: string
        healthy:
          type: boolean
        last_seen:
          type: string
        node_count:
          type: integer
        node_versions:
          type: array
          items:
            type: string
        tags:
          type: array
          items:
            type: string
    models.TykKeyDefaults:
      type: object
      properties:
        alias_prefix:
          type: string
        detailed_recording:
          type: boolean
        expires_in_seconds:
          type: integer
    models.TykGatewayTag:
      type: object
      properties:
        description:
          type: string
        label:
          type: string
        tag:
          type: string

````