Coolify Disable API

The Disable API from Coolify — 1 operation(s) for disable.

OpenAPI Specification

coolify-disable-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Coolify Applications Disable API
  version: '0.1'
  description: Applications
servers:
- url: https://app.coolify.io/api/v1
  description: Coolify Cloud API. Change the host to your own instance if you are self-hosting.
tags:
- name: Disable
paths:
  /disable:
    get:
      summary: Disable API
      description: Disable API (only with root permissions).
      operationId: disable-api
      responses:
        '200':
          description: Disable API.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: API disabled.
                type: object
        '403':
          description: You are not allowed to disable the API.
          content:
            application/json:
              schema:
                properties:
                  message:
                    type: string
                    example: You are not allowed to disable the API.
                type: object
        '401':
          $ref: '#/components/responses/401'
        '400':
          $ref: '#/components/responses/400'
      security:
      - bearerAuth: []
      tags:
      - Disable
components:
  responses:
    '400':
      description: Invalid token.
      content:
        application/json:
          schema:
            properties:
              message:
                type: string
                example: Invalid token.
            type: object
    '401':
      description: Unauthenticated.
      content:
        application/json:
          schema:
            properties:
              message:
                type: string
                example: Unauthenticated.
            type: object
  securitySchemes:
    bearerAuth:
      type: http
      description: Go to `Keys & Tokens` / `API tokens` and create a new token. Use the token as the bearer token.
      scheme: bearer