v1

latestOpenAPI 3.0.02026-07-14169146300.3 KB
Database

Updates the backup schedule time for a project

Sets the time at which the daily backup runs. The change takes effect on the next backup window that includes the new time. If the new time has already passed for today, the first backup at the new time will occur the following day. It can only be updated 3 times per 24 hours.

patch/v1/projects/{ref}/database/backups/schedule

Path parameters

refstring required
Example:abcdefghijklmnopqrst

Project ref

Request body

schedule_forstring required

Time of day to schedule daily backups, in UTC. Format: HH:MM:SS.

Example request

{
  "schedule_for": "04:00:00"
}

Response

schedule_forstring required

Time of day to schedule daily backups, in UTC. Format: HH:MM:SS.

updated_atstring date-time required

Timestamp of when the backup schedule was last updated.

Example response

{
  "schedule_for": "04:00:00",
  "updated_at": "2026-05-04T14:40:44+00:00"
}