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

# Segna come bloccata l'origine di Cloud Defender

> Registra che il tuo server di origine ora accetta traffico solo da Cloud Defender, l'ultimo passaggio dell'attivazione. Nessuno può verificarlo dall'esterno, quindi lo confermi tu, come con Origine bloccata nella Cyber Console. Solo proprietari e security officer.



## OpenAPI

````yaml post /api/v1/cloud-defender/{id}/activation/origin-locked
openapi: 3.1.0
info:
  title: Aegister API
  version: 2.10.0
servers: []
security: []
paths:
  /api/v1/cloud-defender/{id}/activation/origin-locked:
    post:
      tags:
        - cloud-defender
      summary: Mark a Cloud Defender domain's origin as locked
      description: >-
        The customer's last activation step: nobody can check from outside that
        the origin takes only Cloud Defender's traffic.
      operationId: cloud_defender_activation_origin_locked_create
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 0
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
                  data:
                    type: object
                    properties:
                      origin_locked_at:
                        type:
                          - string
                          - 'null'
                        format: date-time
                        description: When the origin was marked locked. Null = not marked.
              examples:
                Marked:
                  value:
                    error: 0
                    messages: []
                    data:
                      origin_locked_at: '2026-10-28T09:30:00+00:00'
          description: ''
        '404':
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: integer
                    description: |-
                      Any value different from 0 indicates an error.  
                      More details can be found in `messages`.
                    minimum: 0
                    maximum: 0
                    examples:
                      - 1
                  messages:
                    type: array
                    description: >-
                      If `error` is `1`, contains zero or more details on the
                      error.
                    examples:
                      - []
          description: ''
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Aegister-Token

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.