Snapshot

Updates the specified snapshot.

patch/projects/{project_id}/snapshots/{snapshot_id}

Request

  • Base URL: https://console.neon.tech/api/v2
  • URL: https://console.neon.tech/api/v2/projects/{project_id}/snapshots/{snapshot_id}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie zenith
    • API key in cookie keycloak_token

Request body

Example request

{
  "snapshot": {
    "expires_at": "2030-06-09T18:02:16Z"
  }
}

Response

Successfully updated the snapshot

Example response

{
  "snapshot": {
    "created_at": "2025-01-15T10:30:00Z"
  }
}

Changes