Infomaniak Public Cloud icon

Infomaniak Public Cloud

Interact with Infomaniak Public Cloud API

Actions70

Database Service → Update Database Service

AI-generated

Summary

Updates a specified Infomaniak Public Cloud Database Service with optional body fields.

Inputs

  • authentication — Authentication method (OAuth2 or API Key) for the Infomaniak Public Cloud.
  • path_public_cloud_id (required) — Identifier of the Public Cloud.
  • path_public_cloud_project_id (required) — Identifier of the Public Cloud Project.
  • path_dbaas_id (required) — Identifier of the Database Service to update.
  • bodyParameters — Additional fields to send in the request body, such as name or pack ID.
  • returnFullResponse — If true, the full response body is returned; otherwise only success/failure is indicated.

Output shape

the updated Database Service object

Returns the updated service details; no pagination or error envelope specified.

Examples

Example 1: Update a Database Service with a new name

Set Authentication to OAuth2, provide Public Cloud Id 1, Project Id 5, Dbaas Id 12, add body_name "my-db", and keep Return Full Response false.

Example 2: Update and retrieve full response

Use API Key authentication, specify IDs 2,3,7 and enable Return Full Response true to get the complete response.

Links

Discussion