Logout
User has been logged out
Request
| Method: | POST |
| Route: | api/auth/logout |
| Example: | api/auth/logout |
Request Headers
| host: | localhost:49527 |
| user-agent: | Symfony |
| accept: | application/json |
| accept-language: | en-us,en;q=0.5 |
| accept-charset: | ISO-8859-1,utf-8;q=0.7,*;q=0.7 |
| authorization: | Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjQ5NTI3IiwiaWF0IjoxNjUyNzc1OTUwLCJuYmYiOjE2NTI3NzU5NTAsImp0aSI6IkRIVFlmNWltSUh4cTMyWFciLCJzdWIiOiIxIiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.59QasPKJyT0vwYpZMSTazwPRFqsHPRO5JMC27dGv4Uc |
| content-length: | 2 |
| content-type: | application/json |
Response
200
JSON
Response Headers
| cache-control: | no-cache, private |
| date: | Tue, 17 May 2022 08:25:50 GMT |
| content-type: | application/json |
| x-ratelimit-limit: | 60 |
| x-ratelimit-remaining: | 59 |
{
"data": {
"message": "User successfully logged out"
}
}
Time: 0.39
insert into `users` (`updated_at`, `created_at`) values (?, ?)
Bindings
| 0: | 2022-05-17 08:25:50 |
| 1: | 2022-05-17 08:25:50 |
Time: 0.3
insert into `login_tokens` (`user_id`, `token`, `medium_type`, `medium_handle`, `expires_at`, `section`, `consumed_at`, `callback_url`, `updated_at`, `created_at`) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Bindings
| 0: | 1 |
| 1: | WpUYiTV9PT |
| 2: | |
| 3: | [email protected] |
| 4: | 2022-05-17 08:40:50 |
| 5: | 4FWAwejQpDcb93Gw |
| 6: | |
| 7: | http://bode.com/hic-modi-eaque-excepturi-possimus-vitae-exercitationem |
| 8: | 2022-05-17 08:25:50 |
| 9: | 2022-05-17 08:25:50 |
Time: 2.44
select * from `users` where (`phone_verified_at` is not null or `email_verified_at` is not null) and `id` = ? limit 1
Bindings
| 0: | 1 |
Time: 0.41
select * from `users` where (`phone_verified_at` is null or `email_verified_at` is null) and `id` = ? limit 1
Bindings
| 0: | 1 |
Time: 0.37
update `users` set `email_verified_at` = ?, `email` = ?, `users`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:50 |
| 1: | [email protected] |
| 2: | 2022-05-17 08:25:50 |
| 3: | 1 |
Time: 0.32
update `login_tokens` set `consumed_at` = ?, `login_tokens`.`updated_at` = ? where `id` = ?
Bindings
| 0: | 2022-05-17 08:25:50 |
| 1: | 2022-05-17 08:25:50 |
| 2: | 1 |