Deactivate container

Deactivate container

post/containers/deactivate

Request

  • Base URL
    https://app.aikido.dev/api/public/v1
  • URL
    https://app.aikido.dev/api/public/v1/containers/deactivate
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://app.aikido.io/api/oauth/token scopes: containers:write

Request body

container_repo_idinteger required

The ID of the container repo

Example request

{
  "container_repo_id": 1
}

Response

The container has been deactivated.

successinteger

The integer 1 indicating success

was_already_deactivatedinteger

The integer 0 or 1 indicating whether or not the container was already deactivated

Example response

{
  "success": 1,
  "was_already_deactivated": 0
}

Changes

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