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

# Stop an Encoder

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Platform",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/live/encoders/{encoder_name}/stop": {
      "post": {
        "summary": "Stop an Encoder",
        "tags": [
          "Encoders"
        ],
        "operationId": "stopV1Encoder",
        "parameters": [
          {
            "name": "encoder_name",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Name of the Encoder"
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "EncoderStateChangeResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "type": "object",
                      "title": "EncoderStateChange",
                      "properties": {
                        "success": {
                          "type": "string"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Error while stopping encoder",
            "content": {
              "application/json": {
                "schema": {
                  "title": "EncoderStopErrorResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "EncoderStopError",
                      "type": "object",
                      "required": [
                        "error"
                      ],
                      "properties": {
                        "error": {
                          "type": "string",
                          "example": "Failed to stop encoder your-encoder-1234"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Encoder not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1app/get/responses/404/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```