API reference · Auth & profile
Sign out of all other devices
post
/auth/logout-others| Authentication | Customer token (Bearer) |
|---|---|
| Access | Free user · Pro user Customer token (Bearer) — free and paid users |
| Rate limit | 10/1min |
Revokes every token of the account except the one making the request. Throttle 10/min.
Responses
200
| Field | Type |
|---|---|
signed_out* | integer |
json
{
"signed_out": 2
}
401 — Missing/invalid token
| Field | Type |
|---|---|
message* | string |
code | string |
json
{
"message": "Please sign in to continue; your session has ended or is not valid.",
"code": "unauthenticated"
}
429 — Rate limit or login-code resend cooldown. Headers: Retry-After, X-RateLimit-*.
| Field | Type | Description |
|---|---|---|
message* | string | |
resend_in | integer | Seconds until a new login code may be requested (login-code cooldown only). |
json
{
"message": "Too Many Attempts.",
"resend_in": 0
}
curl example
bash
curl -X POST 'http://127.0.0.1:8010/api/auth/logout-others' \
-H 'Accept: application/json' \
-H "Authorization: Bearer $RAWI_USER_TOKEN"