v1

latestOpenAPI 3.1.02026-07-261690320.7 KB

Deactivate container

Deactivate container

post/containers/deactivate

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
}