miss rec:session:7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88
DELETE /v1/advertiser/account
- Status
- 204
- Duration
- 49.2 ms
- Started (UTC)
- 2026-10-07 15:11:14.555
- Route
- /v1/advertiser/account
- Request ID
- 9e04b15c-13bf-4124-adba-cb1adf913c84
- Subject
- advertiser:01a116eb-2419-71d5-b9fb-2b674b37a1a9
- IP
- 37.19.196.100
- User agent
- curl/8.7.1
- Language
- ar
- Queries
- 10 (30.8 ms)
- Cache hit / miss
- 0 / 2
Timeline
select `id`, `subject_type`, `subject_id`, `token_hash`, `device_name`, `ip`, `user_agent`, `created_at`, `last_used_at`, `expires_at`, `revoked_at`, `revoked_reason` from `sessions` where `sessions`.`token_hash` = '7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88'
Parameters
[ "7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88" ]
1 rows
set rec:session:7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88
miss rec:subject:advertiser:01a116eb-2419-71d5-b9fb-2b674b37a1a9
select `id`, `mobile`, `status`, `language`, `last_sign_in_at`, `disabled_reason`, `created_at`, `updated_at`, `deleted_at`, `account_type`, `name`, `email`, `city_id`, `avatar_file_id`, `logo_file_id`, `establishment_name`, `cr_number`, `cr_file_id`, `address`, `tax_number`, `terms_accepted_at` from `advertisers` where (`advertisers`.`id` = '01a116eb-2419-71d5-b9fb-2b674b37a1a9' and `advertisers`.`deleted_at` is null)
Parameters
[ "01a116eb-2419-71d5-b9fb-2b674b37a1a9" ]
1 rows
set rec:subject:advertiser:01a116eb-2419-71d5-b9fb-2b674b37a1a9
update `advertisers` set `mobile` = NULL, `last_sign_in_at` = NULL, `updated_at` = '2026-10-07 15:11:14.567', `deleted_at` = '2026-10-07 15:11:14.567', `name` = '', `email` = NULL, `avatar_file_id` = NULL, `logo_file_id` = NULL, `establishment_name` = NULL, `cr_number` = NULL, `cr_file_id` = NULL, `address` = NULL, `tax_number` = NULL where (`advertisers`.`id` = '01a116eb-2419-71d5-b9fb-2b674b37a1a9' and `advertisers`.`deleted_at` is null)
Parameters
[ null, null, "2026-10-07 15:11:14.567", "2026-10-07 15:11:14.567", "", null, null, null, null, null, null, null, null, "01a116eb-2419-71d5-b9fb-2b674b37a1a9" ]
1 rows
update rec:subject:advertiser:01a116eb-2419-71d5-b9fb-2b674b37a1a9
invalidate rec:subject:advertiser:01a116eb-2419-71d5-b9fb-2b674b37a1a9
select `id` from `sessions` where ((`sessions`.`subject_type` = 'advertiser' and `sessions`.`subject_id` = '01a116eb-2419-71d5-b9fb-2b674b37a1a9') and `sessions`.`revoked_at` is null)
Parameters
[ "advertiser", "01a116eb-2419-71d5-b9fb-2b674b37a1a9" ]
1 rows
begin
0 rows
select `id`, `token_hash` from `sessions` where (`sessions`.`id` in ('01a116eb-2424-7736-9964-9c4ea692f081') and `sessions`.`revoked_at` is null) for updateParameters
[ "01a116eb-2424-7736-9964-9c4ea692f081" ]
1 rows
update `sessions` set `revoked_at` = '2026-10-07 15:11:14.582', `revoked_reason` = 'account_deleted' where `sessions`.`id` in ('01a116eb-2424-7736-9964-9c4ea692f081')Parameters
[ "2026-10-07 15:11:14.582", "account_deleted", "01a116eb-2424-7736-9964-9c4ea692f081" ]
1 rows
commit
0 rows
update rec:session:7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88
invalidate rec:session:7dadbe4d1cb42f43f9c3395ad6c6a4ee148682df8b4f00aa1dd6706fe1254b88
select `id`, `storage_key` from `files` where (`files`.`owner_type` = 'advertiser' and `files`.`owner_id` = '01a116eb-2419-71d5-b9fb-2b674b37a1a9')
Parameters
[ "advertiser", "01a116eb-2419-71d5-b9fb-2b674b37a1a9" ]
1 rows
delete from `files` where `files`.`id` in ('01a116eb-19d1-7759-a924-ea6ee8750216')Parameters
[ "01a116eb-19d1-7759-a924-ea6ee8750216" ]
1 rows
Request
Headers
{
"host": "maqsed-api.dev-moltaqa.cloud",
"user-agent": "curl/8.7.1",
"accept": "*/*",
"authorization": "********",
"x-forwarded-for": "37.19.196.100",
"x-forwarded-host": "maqsed-api.dev-moltaqa.cloud",
"x-forwarded-port": "443",
"x-forwarded-proto": "https",
"x-forwarded-server": "2608fbae9cc2",
"x-real-ip": "37.19.196.100",
"accept-encoding": "gzip"
}Query
{}Response
No body.