# Apply Pipeline Migrations

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

<MethodEndpoint
  method={"post"}
  path={"/api/v1/workspaces/{workspace_name}/pipelines/apply-migrations"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Apply detected migrations to a pipeline asynchronously.

Creates a migration job and dispatches it to a background worker.
Poll the migrations endpoint to track progress.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./apply-pipeline-migrations-api-v-1-workspaces-workspace-name-pipelines-apply-migrations-post.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./apply-pipeline-migrations-api-v-1-workspaces-workspace-name-pipelines-apply-migrations-post.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./apply-pipeline-migrations-api-v-1-workspaces-workspace-name-pipelines-apply-migrations-post.StatusCodes.json")}
>
  
</StatusCodes>
