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

# Read a project's Danger zone

> What the caller may do with the project: move it, leave its list or delete it once it's empty. The default project has none.



## OpenAPI

````yaml https://dojo.frogbot.ai/api/openapi.json get /api/projects/{id}/danger
openapi: 3.1.0
info:
  title: Dojo API
  version: '1'
  description: >-
    Everything Dojo's pages do, for scripts and agents. Sign in with an API key
    as `Authorization: Bearer fb_…`. Paying and accepting the terms happen at a
    link a route answers, for a person to open.
servers:
  - url: https://dojo.frogbot.ai
security:
  - apiKey: []
tags:
  - name: Sign-in
  - name: Workspaces
  - name: Projects
  - name: Apps
  - name: Templates
  - name: Sharing
  - name: Deployments
  - name: Environment variables
  - name: Domains
  - name: Data
  - name: Billing
  - name: API keys
paths:
  /api/projects/{id}/danger:
    get:
      tags:
        - Projects
      summary: Read a project's Danger zone
      description: >-
        What the caller may do with the project: move it, leave its list or
        delete it once it's empty. The default project has none.
      operationId: get/api/projects/:id/danger
      parameters:
        - name: id
          in: path
          required: true
          description: The project's id.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  kind:
                    type: string
                    enum:
                      - app
                      - project
                  name:
                    type: string
                  canManage:
                    type: boolean
                  canLeave:
                    type: boolean
                  onlyAdmin:
                    type: boolean
                  hasApps:
                    type: boolean
                  workspace:
                    type: object
                    properties:
                      id:
                        type: string
                        description: A document id.
                      name:
                        type: string
                    required:
                      - id
                      - name
                  targets:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          description: A document id.
                        name:
                          type: string
                      required:
                        - id
                        - name
                  handover:
                    anyOf:
                      - type: object
                        properties:
                          id:
                            type: string
                            description: A document id.
                          email:
                            type: string
                          expiresAt:
                            type: string
                            format: date-time
                        required:
                          - id
                          - email
                          - expiresAt
                      - type: 'null'
                required:
                  - kind
                  - name
                  - canManage
                  - canLeave
                  - onlyAdmin
                  - hasApps
                  - workspace
                  - targets
                  - handover
        '401':
          description: '`unauthorized`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
        '404':
          description: '`not_found`'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Errors'
components:
  schemas:
    Errors:
      type: object
      required:
        - errors
      properties:
        errors:
          type: array
          items:
            type: object
            required:
              - message
            properties:
              message:
                type: string
              data:
                type: object
                properties:
                  code:
                    type: string
                  url:
                    type: string
                    description: Where a person takes the next step, such as paying.
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: >-
        An API key from `frogbot deploy`'s sign-in, `/api/cli/device/token`, or
        the API keys page.

````

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