workspaces

Lock a Workspace

Changed on

This endpoint locks a workspace.

post/workspaces/{workspace}/actions/lock

Request

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

Path parameters

workspacestring required

The workspace ID to lock.

Request body

reasonstring

The reason for locking the workspace.

Response

Successfully locked the workspace.

includedobject[]
metaobject

Changes

    • warning

      added the new 30.00 enum value to the // response property for the response status

    • warning

      added the new 60.00 enum value to the // response property for the response status

    • warning

      added the new 90.00 enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      the response's property default value false was added for the status