v1

latestOpenAPI 3.1.02026-07-241280174.1 KB

Lock

Prevent the config from being renamed or deleted.

post/v3/configs/config/lock

Request body

projectstring required

Unique identifier for the project object.

configstring required

Name of the config.

Response

200

Example response

{
  "config": {
    "name": "prd_aws",
    "locked": true,
    "initial_fetch_at": "2019-11-19T07:32:12.000Z",
    "last_fetch_at": "2019-11-19T07:36:10.980Z",
    "created_at": "2019-11-19T07:19:00.480Z",
    "environment": "prd",
    "project": "ed0c2a68b6"
  }
}