---
title: "Clone container"
method: POST
path: "/containers/clone"
---

# Clone container

`POST /containers/clone`

## Request

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

Clone container with a specific tag filter

## Request body

- object
  - `container_repo_id` integer, required: The ID of the container repo
  - `tag_filter` integer, required: The tag filter you want to apply to the container. You can use wildcards with the asterisk char (*). Use 'semver-production' for filtering on semver compliant tags. To reset the tag filter, you can pass 'null'.

## Response `200`

The the container has been cloned.

- object
  - `container_repo_id` integer: The id 1 of the newly cloned container

---

[API](https://skmtc.dev/aikido/apis/aikido-security-api-documentation.md) - [All operations](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/aikido/apis/aikido-security-api-documentation/revisions/da8691338133?raw)
