Lock a specific pipeline

post /text/Keywords/Optimization/Pipelines/{id}/Lock
This API endpoint locks a specific pipeline identified by its ID. Locking a pipeline prevents further modifications, ensuring its integrity.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Content-Type: application/json
Parameter Name Type Description
Id string, required Unique identifier for the pipeline to lock.
Parameter Name Type Description
storeId string, required Store ID identifying the pipeline's context.
type string, required Specifies the type of pipeline, which can be either Product or Category.
recordId string, required The Object ID associated with the pipeline.
languageCode string, required Two-letter language code, e.g., en. Default is en.

Request body parameters

Response

200
400
404
500
//The request was successful, and the specified pipeline is now locked.
//The request failed due to invalid input or missing required parameters.
//The specified pipeline or related resource could not be found.
//The server encountered an error when processing the request.