Web API

Press shift + S to search API reference.

Users

Logout user

posthttps://api.airtable.com/v0/meta/enterpriseAccounts/{enterpriseAccountId}/users/{userId}/logout

Logout the user.

Only available for ELA and FLA internal enterprise account users and managed "claiming" enterprise users.

Requirements

AuthenticationPersonal access token, OAuth integration
Scopeenterprise.user:write
User role

Enterprise admin

Billing plansEnterprise (pre-2023.08 legacy plan), Enterprise Scale

Path parameters

enterpriseAccountId
string
userId
string

Response format

This endpoint returns an empty response on success.

Error responses

Action on self (403)
Cannot log yourself out.
{
"error": {
"message": "Cannot perform action on self",
"type": "INVALID_PERMISSIONS"
}
}
Not in domain (403)
Cannot logout external users.
{
"error": {
"message": "User does not belong to the enterprise email domain",
"type": "INVALID_PERMISSIONS"
}
}
Not managed by enterprise (403)
Can only logout managed users.
{
"error": {
"message": "User is not managed by the enterprise account",
"type": "INVALID_PERMISSIONS"
}
}