Cloudpepper Instance Templates API

The Instance Templates API from Cloudpepper — 3 operation(s) for instance templates.

GitHub OpenAPI

Operations 3

POST /instance-templates Create a new instance template #
PUT /instance-templates/{id}/default Set template as default #
DELETE /instance-templates/{id} Delete an instance template #

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/cloudpepper-io:cloudpepper-io-instance-templates-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

cloudpepper-io-instance-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cloudpepper Io Instance Templates API
  version: 1.0.0
  description: 'Operations tagged Instance Templates across 2 of this provider''s published API definitions: cloudpepper-io-openapi.json, cloudpepper-io-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /
- url: https://api.cloudpepper.io
  description: Resolved from the published relative server "/" against the host serving the spec (https://api.cloudpepper.io/openapi.json)
security:
- bearerAuth: []
tags:
- name: Instance Templates
paths:
  /instance-templates:
    post:
      tags:
      - Instance Templates
      summary: Create a new instance template
      description: 'Creates a new instance template for you. Instance templates allow you to save predefined configurations for Odoo instances, making it easier to deploy new instances with consistent settings. Currently, instance templates primarily support backup schedule configurations.


        **Key Parameters:**

        - `name`: Name for your template (used for identification in the UI)

        - `schedules`: It contains containing backup schedule configurations. Each configuration contains:

        - A cron expression defining when the backup should run (e.g., ''00 08 * * *'' for daily at 8:00 AM UTC)

        - Format: ''minute hour day-of-month month day-of-week''

        - Special values supported:

        - ''@monthly'' or ''00 00 1 * *'' (first day of month at midnight)

        - ''@weekly'' or ''00 00 * * 0'' (Sunday at midnight)

        - ''@daily'', ''@midnight'' or ''00 00 * * *'' (daily at midnight)

        - ''@hourly'' or ''00 * * * *'' (hourly at minute 00)

        - Interval patterns supported:

        - ''00 */12 * * *'' (every 12 hours)

        - ''00 */6 * * *'' (every 6 hours)

        - ''00 */3 * * *'' (every 3 hours)

        - `retention`: Integer number of days to retain backups (e.g., 7 for one week, 30 for one month)


        NOTE: All pre-fill values are examples and should be replaced with actual data. Example shows how to setup multiple backups with same frequency, please adjust the configuration as per your needs.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Name of the instance template
                  example: Basic Template with Daily Backups
                schedules:
                  type: object
                  description: Backup schedule configurations
                  additionalProperties:
                    type: object
                    properties:
                      schedule:
                        type: string
                        description: 'Cron expression defining when the backup should run. Format: ''minute hour day-of-month month day-of-week''.


                          Supported special values:

                          - @monthly: Run once a month, first day at midnight (''00 00 1 * *'')

                          - @weekly: Run once a week, Sunday at midnight (''00 00 * * 0'')

                          - @daily, @midnight: Run once a day at midnight (''00 00 * * *'')

                          - @hourly: Run once an hour at the start of the hour (''00 * * * *'')


                          Supported interval patterns:

                          - ''00 */12 * * *'': Run every 12 hours

                          - ''00 */6 * * *'': Run every 6 hours

                          - ''00 */3 * * *'': Run every 3 hours


                          Standard cron examples:

                          - ''00 08 * * *'': Run daily at 8:00 AM (UTC)

                          - ''00 20 * * *'': Run daily at 8:00 PM (UTC)

                          - ''00 00 1 * *'': Run at midnight on the first day of each month

                          - ''00 00 * * 0'': Run at midnight on Sunday'
                        example: 00 08 * * *
                      retention:
                        type: integer
                        description: 'Number of days to retain the backup. Common values: 7 (one week), 30 (one month), 90 (three months), 365 (one year).'
                        example: 7
                    required:
                    - schedule
                    - retention
                  example:
                    daily_backup:
                      schedule: 00 00 * * *
                      retention: 7
                    daily_backup_2:
                      schedule: 00 05 * * *
                      retention: 7
                    weekly_backup:
                      schedule: 00 00 * * 0
                      retention: 30
                    weekly_backup_2:
                      schedule: 00 00 * * 5
                      retention: 15
                    monthly_backup:
                      schedule: 00 00 1 * *
                      retention: 90
                    monthly_backup_2:
                      schedule: 00 00 15 * *
                      retention: 90
              required:
              - name
        required: true
      responses:
        '200':
          description: Instance template created successfully
        '400':
          description: Invalid input data
        '403':
          description: Insufficient permissions
      operationId: postInstanceTemplates
      x-operation-id-source: derived
    servers:
    - url: /
  /instance-templates/{id}/default:
    parameters:
    - name: id
      in: path
      description: Instance template ID
      required: true
      schema:
        type: string
    put:
      tags:
      - Instance Templates
      summary: Set template as default
      description: 'Sets or unsets the specified instance template as the default template for the tenant. The default template will be automatically selected when creating new instances.


        **Key Parameters:**

        - `id`: The unique identifier of the instance template

        - `default`: Boolean flag to set (true) or unset (false) this template as the default


        NOTE: Only one template can be the default at a time. Setting a new default will automatically unset any previously default template.'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                default:
                  type: boolean
                  description: Whether to set this template as the default
                  example: true
              required:
              - default
        required: true
      responses:
        '200':
          description: Default status updated successfully
        '403':
          description: Insufficient permissions
        '404':
          description: Instance template not found
      operationId: putInstanceTemplatesByIdDefault
      x-operation-id-source: derived
    servers:
    - url: /
  /instance-templates/{id}:
    parameters:
    - name: id
      in: path
      description: Instance template ID
      required: true
      schema:
        type: string
    delete:
      tags:
      - Instance Templates
      summary: Delete an instance template
      description: 'Permanently deletes the specified instance template. If this template was set as the default template for the tenant, that setting will also be removed. This action cannot be undone.


        **Key Parameters:**

        - `id`: The unique identifier of the instance template to delete


        NOTE: Deleting a template does not affect instances that were previously created using it.'
      responses:
        '200':
          description: Instance template deleted successfully
        '403':
          description: Insufficient permissions
        '404':
          description: Instance template not found
      operationId: deleteInstanceTemplatesById
      x-operation-id-source: derived
    servers:
    - url: /
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
x-refined-from:
- cloudpepper-io-openapi.json
- cloudpepper-io-openapi.yml