Change the name, email address, or scope of an existing email endpoint. This is useful when you need to adjust how notifications or messages are sent from your account.
/notifications id integer · min: 1 required
Example: 63 Unique id identifier
Accept Example Content-Type Example name string required
· Example: Daniel's email scope string required
· Example: all data object required data.email_endpoint object required data.email_endpoint.auto_paused boolean required
· Example: false data.email_endpoint.auto_paused_at string · nullable required
· Example: null Nullable: may be null when not applicable.
data.email_endpoint.auto_paused_reason string · nullable required
· Example: null Nullable: may be null when not applicable.
data.email_endpoint.auto_resume_available_at string · nullable required
· Example: null Nullable: may be null when not applicable.
data.email_endpoint.channel_type string required
· Example: email data.email_endpoint.client_id string required
· Example: 30000 data.email_endpoint.config object required data.email_endpoint.config.address string required
· Example: Examplegatan 1 data.email_endpoint.config.verified boolean required
· Example: false data.email_endpoint.created_at string required
· Example: 2026-02-10T00:00:00.000Z data.email_endpoint.enabled boolean required
· Example: true data.email_endpoint.id integer required
· Example: 63 data.email_endpoint.last_used_at string · nullable required
· Example: null Nullable: may be null when not applicable.
data.email_endpoint.monitor_id string · nullable required
· Example: null Nullable: may be null when not applicable.
data.email_endpoint.name string required
· Example: Daniel's email data.email_endpoint.scope string required
· Example: all data.email_endpoint.updated_at string required
· Example: 2026-02-10T00:00:00.000Z data.message string required
· Example: Email endpoint updated successfully Human-readable message.
requestId string required
· Example: 2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba Unique request identifier (UUID).
success boolean required
· Example: true True for successful responses.
timestamp string required
· Example: 2026-02-10T00:00:00.000Z ISO 8601 timestamp (UTC).
https://cloud.hostup.se/api/email-endpoints/{id} curl -X PUT "https://cloud.hostup.se/api/email-endpoints/63" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Daniel's email",
"email": "[email protected]",
"scope": "all"
}' {
"success": true,
"timestamp": "2026-02-10T00:00:00.000Z",
"requestId": "2121ae20-bd9d-41e9-aeeb-5dd1dd1a24ba",
"data": {
"email_endpoint": {
"id": 63,
"client_id": "30000",
"channel_type": "email",
"scope": "all",
"monitor_id": null,
"name": "Daniel's email",
"enabled": true,
"config": {
"address": "Examplegatan 1",
"verified": false
},
"created_at": "2026-02-10T00:00:00.000Z",
"updated_at": "2026-02-10T00:00:00.000Z",
"last_used_at": null,
"auto_paused": false,
"auto_paused_reason": null,
"auto_paused_at": null,
"auto_resume_available_at": null
},
"message": "Email endpoint updated successfully"
}
} {
"name": "Daniel's email",
"email": "[email protected]",
"scope": "all"
}