curl -X PUT "https://app.runtm.com/api/cloud/v1/email/integration/em_8d7c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123" \
-H "Content-Type: application/json" \
-d '{"enabled": false}'
runtm-api agents update em_8d7c --type email --disabled
{
"id": "em_8d7c",
"name": "support-inbox",
"inbox_email": "[email protected]",
"inbox_id": "in_123",
"enabled": false,
"default_template": "support-bot",
"default_github_repo": null,
"default_agent": "claude-code",
"rate_limit_per_hour": 15,
"config": {"agent_id": "a1b2c3d4-0000-0000-0000-000000000000"},
"created_at": "2026-07-20T12:00:00Z"
}
Email
Update Email Integration
Edit an email inbox; omitted fields are left unchanged
PUT
/
api
/
v1
/
email
/
integration
/
{integration_id}
curl -X PUT "https://app.runtm.com/api/cloud/v1/email/integration/em_8d7c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123" \
-H "Content-Type: application/json" \
-d '{"enabled": false}'
runtm-api agents update em_8d7c --type email --disabled
{
"id": "em_8d7c",
"name": "support-inbox",
"inbox_email": "[email protected]",
"inbox_id": "in_123",
"enabled": false,
"default_template": "support-bot",
"default_github_repo": null,
"default_agent": "claude-code",
"rate_limit_per_hour": 15,
"config": {"agent_id": "a1b2c3d4-0000-0000-0000-000000000000"},
"created_at": "2026-07-20T12:00:00Z"
}
Partial update. The
config object is shallow-merged into the existing config rather than replaced.
Required scope: integrations:write, and the caller must be an org admin or owner.
Path Parameters
string
required
The email integration ID.
Request Body
string
New display name.
boolean
Turn the inbox trigger on or off.
string
New default template.
string
New default repo.
string
New coding agent harness.
integer
Max inbound events handled per hour (1 to 1000).
object
Keys to merge into the existing config.
curl -X PUT "https://app.runtm.com/api/cloud/v1/email/integration/em_8d7c" \
-H "Authorization: Bearer runtm_xxx" \
-H "X-Organization-Id: org_abc123" \
-H "Content-Type: application/json" \
-d '{"enabled": false}'
runtm-api agents update em_8d7c --type email --disabled
{
"id": "em_8d7c",
"name": "support-inbox",
"inbox_email": "[email protected]",
"inbox_id": "in_123",
"enabled": false,
"default_template": "support-bot",
"default_github_repo": null,
"default_agent": "claude-code",
"rate_limit_per_hour": 15,
"config": {"agent_id": "a1b2c3d4-0000-0000-0000-000000000000"},
"created_at": "2026-07-20T12:00:00Z"
}