curl -X POST "https://demo.api.vultlocal.com/api/v1/admin/logout" \
-H "Content-Type: application/json" \
-d '{
"refresh_token": "rt_abc123xyz..."
}'
{
"success": true,
"message": "Logged out successfully"
}
Logout and revoke refresh token
curl -X POST "https://demo.api.vultlocal.com/api/v1/admin/logout" \
-H "Content-Type: application/json" \
-d '{
"refresh_token": "rt_abc123xyz..."
}'
{
"success": true,
"message": "Logged out successfully"
}
curl -X POST "https://demo.api.vultlocal.com/api/v1/admin/logout" \
-H "Content-Type: application/json" \
-d '{
"refresh_token": "rt_abc123xyz..."
}'
{
"success": true,
"message": "Logged out successfully"
}
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_REQUEST | Invalid request format |
| 500 | INTERNAL_ERROR | Server error |