Eon.io Restore Templates API

The restoreTemplates API from Eon.io, for restoretemplates.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

POST /v1/projects/{projectId}/inventory/restore-templates Create Restore Template #
POST /v1/projects/{projectId}/restore-template/{restoreTemplateId}/bulk-attach Bulk Attach Restore Template #

Specifications

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/eon.io:eon.io-restoretemplates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

eon.io-restoretemplates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Restore Templates API
  version: 1.0.0
servers:
- url: https://%7Baccount-domain%7D.console.eon.io/api
  description: https://{account-domain}.console.eon.io/api
tags:
- name: restoreTemplates
paths:
  /v1/projects/{projectId}/inventory/restore-templates:
    post:
      operationId: restoreTemplates_createRestoreTemplate
      summary: Create Restore Template
      description: Creates a restore template.
      tags:
      - restoreTemplates
      parameters:
      - name: projectId
        in: path
        description: 'ID of the project the restore template is in.

          You can get your project ID from the [API Credentials](https://console.eon.io/global-management/api-credentials) page in your global management console.

          '
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '201':
          description: Restore template created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateRestoreTemplateResponse'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRestoreTemplateRequest'
      security:
      - ApiKeyAuth: []
  /v1/projects/{projectId}/restore-template/{restoreTemplateId}/bulk-attach:
    post:
      operationId: restoreTemplates_bulkAttachRestoreTemplate
      summary: Bulk Attach Restore Template
      description: 'Attaches a restore template to multiple resources.


        Existing restore template assignments on the resources are overwritten.'
      tags:
      - restoreTemplates
      parameters:
      - name: projectId
        in: path
        description: 'ID of the project the restore template is in.

          You can get your project ID from the [API Credentials](https://console.eon.io/global-management/api-credentials) page in your global management console.

          '
        required: true
        schema:
          type: string
          format: uuid
      - name: restoreTemplateId
        in: path
        description: ID of the restore template to attach to the resources.
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Restore template attached.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        '400':
          description: 'Invalid request.

            Typically this indicates that the restore template type is incompatible with a resource type.

            '
          content:
            application/json:
              schema:
                description: Any type
        '404':
          description: Restore template wasn't found.
          content:
            application/json:
              schema:
                description: Any type
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkAttachRestoreTemplateRequest'
      security:
      - ApiKeyAuth: []
components:
  schemas:
    CreateRestoreTemplateRequest:
      type: object
      properties:
        name:
          type: string
          description: Restore template display name.
        description:
          type: string
          description: Description of the purpose of the restore template.
        resourceType:
          $ref: '#/components/schemas/RestoreTemplateResourceType'
        ec2Params:
          $ref: '#/components/schemas/Ec2TemplateParams'
        s3Params:
          $ref: '#/components/schemas/S3TemplateParams'
      required:
      - name
      - resourceType
      title: CreateRestoreTemplateRequest
    CreateRestoreTemplateResponse:
      type: object
      properties:
        restoreTemplate:
          $ref: '#/components/schemas/RestoreTemplate'
          description: Created restore template.
      required:
      - restoreTemplate
      title: CreateRestoreTemplateResponse
    S3TemplateParams:
      type: object
      properties:
        targetBucketId:
          type: string
          description: Name of the target S3 bucket for the restore.
        prefixTemplate:
          type: string
          description: Template for the prefix to use when restoring objects.
        targetAccountId:
          type: string
          description: Eon-assigned ID of the target restore account.
        targetRegion:
          type: string
          description: Target region for the restore.
        kmsKeyArn:
          type: string
          description: 'ARN of a customer-managed KMS key in the target account and region. It encrypts the restore''s temporary

            secrets in the restore account: the vault access secret and the container-registry token. Restored objects

            use the target bucket''s default encryption. AWS-managed keys aren''t accepted.

            '
      required:
      - targetBucketId
      - prefixTemplate
      - targetAccountId
      - targetRegion
      title: S3TemplateParams
    Ec2TemplateParams:
      type: object
      properties:
        subnetId:
          type: string
          description: Cloud-provider-assigned ID of the subnet for the restored EC2 instance.
        securityGroupIds:
          type: array
          items:
            type: string
          description: Cloud-provider-assigned IDs of the security groups to attach to the restored EC2 instance.
        instanceType:
          type: string
          description: 'EC2 instance type for the restored instance.

            Required unless `inheritInstanceType` is set to `true`, in which case, must be empty.

            '
        inheritInstanceType:
          type: boolean
          default: false
          description: 'Whether to restore each instance with the instance type recorded in its own snapshot, instead of `instanceType`.

            The template''s subnet must be in an availability zone that offers the specified type.

            '
        kmsKeyArn:
          type: string
          description: ARN of the KMS key to use for encrypting the restored instance.
        keepOriginalTags:
          type: boolean
          default: true
          description: Whether to keep the original tags from the source resource.
        additionalTags:
          type: array
          items:
            $ref: '#/components/schemas/Ec2TemplateParamsAdditionalTagsItems'
          description: Additional tags to apply to the restored EC2 instance.
        nameTemplate:
          type: string
          description: Template for naming the restored EC2 instance.
        startAfterRestore:
          type: boolean
          description: Whether to start the restored EC2 instance after restoration.
        targetAccountId:
          type: string
          description: Eon-assigned ID of the destination restore account.
        targetRegion:
          type: string
          description: Target region for the restore.
      required:
      - subnetId
      - keepOriginalTags
      - nameTemplate
      - startAfterRestore
      - targetAccountId
      - targetRegion
      title: Ec2TemplateParams
    RestoreTemplate:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: ID of the restore template.
        name:
          type: string
          description: Restore template display name.
        description:
          type: string
          description: Description of the restore template's purpose.
        resourceType:
          $ref: '#/components/schemas/RestoreTemplateResourceType'
        ec2Params:
          $ref: '#/components/schemas/Ec2TemplateParams'
        s3Params:
          $ref: '#/components/schemas/S3TemplateParams'
        attachedResourceCount:
          type: integer
          description: Number of resources currently using this restore template.
        createdAt:
          type: string
          format: date-time
          description: Date and time the restore template was created.
        updatedAt:
          type: string
          format: date-time
          description: Date and time the restore template was last updated.
      required:
      - id
      - name
      - resourceType
      title: RestoreTemplate
    BulkAttachRestoreTemplateRequest:
      type: object
      properties:
        resourceIds:
          type: array
          items:
            type: string
            format: uuid
          description: List of Eon-assigned resource IDs to attach the restore template to.
      required:
      - resourceIds
      title: BulkAttachRestoreTemplateRequest
    Ec2TemplateParamsAdditionalTagsItems:
      type: object
      properties:
        key:
          type: string
          description: Tag key.
        value:
          type: string
          description: Tag value.
      title: Ec2TemplateParamsAdditionalTagsItems
    RestoreTemplateResourceType:
      type: string
      enum:
      - RESTORE_TEMPLATE_RESOURCE_TYPE_UNSPECIFIED
      - EC2_INSTANCE
      - S3_BUCKET
      description: 'Resource type the restore template applies to.

        `RESTORE_TEMPLATE_RESOURCE_TYPE_UNSPECIFIED` is supported only in responses.

        '
      title: RestoreTemplateResourceType
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer