Skip to main content
POST
Create a new backup policy

Authorizations

token
string
cookie
required

JWT token stored in HTTP-only cookie

Path Parameters

clusterName
string
required

Query Parameters

namespace
string
required
Minimum string length: 1

Body

application/json
policyName
string
required

Must be a valid Kubernetes object name: lowercase letters, numbers, and hyphens; must start and end with a letter or number; max 63 characters.

Required string length: 1 - 63
Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$
backupRepoName
string

Must be a valid Kubernetes object name: lowercase letters, numbers, and hyphens; must start and end with a letter or number; max 63 characters.

Required string length: 1 - 63
Pattern: ^[a-z0-9]([-a-z0-9]*[a-z0-9])?$

Response

Default Response

name
string
required
cluster
string
required
namespace
string
required
backupMethods
object[]
required
createdAt
string
required
backupRepoName
string
pathPrefix
string
status
Available options:
Available
message
string
updatedAt
string