Sign a phone out
DELETE
/api/v1/mobile-sessions/{mobileSession}
Sign one phone out, for example after losing it.
The phone stops reaching your account the moment this answers, and cannot renew its access. Your other phones, your assistants and your API keys are untouched.
Path parameters
Sent as JSON. Anything not listed here is ignored.
mobileSession
integer
Required
The id of the phone session.
Returns
Nothing at all. A session of somebody else, or one already signed out, answers 404.
Rate limit
Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in X-RateLimit-Remaining.
DELETE
curl https://monica-789392842564.asia-southeast1.run.app/api/v1/mobile-sessions/12 \
-X DELETE \
-H "Authorization: Bearer $MONICA_TOKEN"
const response = await fetch('https://monica-789392842564.asia-southeast1.run.app/api/v1/mobile-sessions/12', {
method: 'DELETE',
headers: { Authorization: `Bearer ${token}` },
})
$response = Http::withToken($token)->delete('https://monica-789392842564.asia-southeast1.run.app/api/v1/mobile-sessions/12');
Response
204
No content.
Keys act as you, with exactly the access you have. Make one per integration so you can revoke it alone.