Update Mailbox
Path Parameters
idstringRequired
Mailbox ID
Body Parameters
displayNamestring
Friendly name of the mailbox sender
status"active""disabled"
Possible values: active | disabled
quotastring
Storage quota limit
const response = await fetch("https://reloop.sh/api/inbox/v1/mailboxes/{id}", {
method: "PATCH",
headers: {
"Authorization": "Bearer re_123456789",
"Content-Type": "application/json",
},
body: JSON.stringify({
"displayName": "displayName_value",
"status": "status_value",
"quota": "quota_value"
})
});
const data = await response.json();{
"success": true,
"id": "con_123456789",
"message": "Contact already exists",
"isRead": true,
"isStarred": true,
"status": "example_status"
}Was this page helpful?