BackupRetentionPolicies

create backup retention policy

Changed on

Creates a new backup retention policy for the specified account.

post/accounts/{account_id}/backup_retention_policies

Request

  • Base URL
    https://api.aptible.com
  • Auth
    API key in header Authorization

Path parameters

account_idinteger required

account_id

Query parameters

no_embedboolean

When true, omits embedded resources from the response. Also triggered when the Prefer: no_sensitive_extras=true header is present.

Headers

Prefer'no_sensitive_extras=true'

When set to no_sensitive_extras=true, omits sensitive fields and embedded resources from the response.

Request body

dailyinteger
monthlyinteger
yearlyinteger
keep_finalboolean
make_copyboolean

Response

successful

Changes

    • info

      added the new optional header request parameter Prefer

    • info

      added the new optional query request parameter no_embed