environments

Lock an Environment

This endpoint locks an environment.

post/environments/{environment}/actions/lock

Request

  • Base URL: https://example.scalr.io/api/iacp/v3
  • URL: https://example.scalr.io/api/iacp/v3/environments/{environment}/actions/lock
  • Auth: HTTP bearer

Path parameters

environmentstring required

The environment ID to lock.

Request body

reasonstring

The reason for locking the environment.

Response

Successfully locked the environment.

Changes

No recorded changes to this operation across all 1 revision of this API.