Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailboxes > Accesses > Devices → Update Device

AI-generated

Summary

Update a mailbox device record

Inputs

  • authentication — Authentication method: either OAuth2 or API Key (default OAuth2).
  • path_device (required) — The numeric ID of the device to update.
  • body_label (required) — New label for the device.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

a single record representing the updated device

The response body matches the device structure returned by the Infomaniak API; may include optional fields not listed in the input.

Examples

Example 1: Update device 12 with OAuth2 and return full response

authentication: "oauth2", path_device: 12, body_label: "My Device", returnFullResponse: true

Example 2: Update device 7 using API Key

authentication: "apiKey", path_device: 7, body_label: "New Label"

Example 3: Update device 3 without full response

authentication: "oauth2", path_device: 3, body_label: "Updated", returnFullResponse: false

Links

Discussion