---
title: "Create backup bucket"
method: POST
path: "/api/v1/orgs/{orgId}/backupbuckets"
tags: ["ark-buckets"]
---

# Create backup bucket

`POST /api/v1/orgs/{orgId}/backupbuckets`

Create backup bucket

## Path parameters

- `orgId` integer, required

## Request body

- CreateBackupBucketRequest
  - `cloud` string, required
  - `bucketName` string, required
  - `secretId` string, required

## Response `200`

Backup bucket added successfully

- CreateBackupBucketResponse
  - `id` integer
  - `name` string
  - `cloud` string
  - `secretId` string
  - `status` string
  - `inUse` boolean

## Other responses

- `default` — Internal server error

## Changes

- **2020-04-24** `5186ea64aa56` — 4 warning
  - removed the request property `location`
  - removed the request property `prefix`
  - removed the request property `resourceGroup`
  - removed the request property `storageAccount`

[Change history](https://skmtc.dev/banzaicloud/apis/pipeline-api/changes/api/v1/orgs/:orgId/backupbuckets/post.md)

---

[API](https://skmtc.dev/banzaicloud/apis/pipeline-api.md) · [All operations](https://skmtc.dev/banzaicloud/apis/pipeline-api/llms.txt) · [OpenAPI document](https://skmtc.dev/banzaicloud/apis/pipeline-api/revisions/d4abec32d729?raw)
