# Activate Pipeline

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Activate Pipeline"}
>
</Heading>

<MethodEndpoint
  method={"post"}
  path={"/api/v1/workspaces/{workspace_name}/pipelines/{pipeline_name}/activate"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Activates the pipeline.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={[{"description":"Name of the pipeline.","in":"path","name":"pipeline_name","required":true,"schema":{"description":"Name of the pipeline.","title":"Pipeline Name","type":"string"}},{"description":"Type the name of the workspace.","in":"path","name":"workspace_name","required":true,"schema":{"description":"Type the name of the workspace.","title":"Workspace Name","type":"string"}}]}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={undefined}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{"204":{"description":"The pipeline was successfully activated. This may take a couple of minutes to take effect."},"403":{"description":"You don't have permission to update this pipeline."},"404":{"description":"We couldn't find the pipeline you specified. Make sure the name is correct and the pipeline exists in the workspace you specified."},"409":{"description":"Pipeline with the same name already exists, you're trying to activate an undeployed pipeline or you're trying to change the pipeline service level of an undeployed pipeline."},"422":{"content":{"application/json":{"schema":{"properties":{"detail":{"items":{"properties":{"ctx":{"title":"Context","type":"object"},"input":{"title":"Input"},"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"title":"Location","type":"array"},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}},"required":["loc","msg","type"],"title":"ValidationError","type":"object"},"title":"Detail","type":"array"}},"title":"HTTPValidationError","type":"object"}}},"description":"Validation Error"},"424":{"description":"We could not activate the pipeline because the linked index was not found. Please check if the index exists and is linked to the pipeline."}}}
>
  
</StatusCodes>
