Portabase Logo
Portabase DashboardAPIProjects

Set or clear the default backup schedule of a project

PUT
/projects/{id}/backup-policy

Authorization

apiKeyAuth
headerx-api-key<token>

API key generated from the Portabase dashboard. Pass as the x-api-key header.

Path Parameters

id*string
Formatuuid

Request Body

application/json
  1. body
backupPolicy*string

A valid cron expression, or "" to clear the schedule

Response Body

Updated project record

application/json
  1. response
data?unknown
Example Request
curl -X PUT 'https://portabase.example.com/api/v1/projects/123e4567-e89b-12d3-a456-426614174000/backup-policy' \  -H 'Content-Type: application/json' \  -d '{  "backupPolicy": "string"}'
Example Response
{  "data": null}