Back DELETE

{{ $api->name }}

@php $deleteBase = url('/api/generated/' . $api->slug . '/delete'); $getBase = url('/api/generated/' . $api->slug); $debugUrl = url('/api/generated/' . $api->slug . '/debug-schema'); $cols = is_array($api->selected_columns) ? $api->selected_columns : json_decode($api->selected_columns ?? '[]', true); @endphp
{{-- ── URL Bar ─────────────────────────────────────────────────────────── --}}
DELETE {{ $deleteBase }}/{id}
{{-- ── LEFT: Info + Warning + Debug ───────────────────────────────── --}}
{{-- Warning Card --}}
⚠️

Destructive Action

Deleting a record is permanent and cannot be undone. Always preview the record before confirming deletion.

{{-- How it works --}}
📋 How to Delete
1

Enter Record ID

Type the ID of the record you want to delete.

2

Preview the Record

Verify the data before deleting.

3

Type DELETE to Confirm

Safety check to prevent accidental deletions.

{{-- Columns Info --}}
🗂 View Columns {{ count($cols) }}
@if(empty($cols))

All columns (*)

@else
@foreach($cols as $col) {{ $col }} @endforeach
@endif
{{-- Debug Schema --}}
{{-- ── RIGHT: Delete Form ───────────────────────────────────────────── --}}
DELETE

Delete a Record

{{ $deleteBase }}/{id}
{{-- Step 1: Enter ID --}}

Step 1 — Enter Record ID & Preview

{{-- Step 2: Preview Card --}} {{-- Response Panel --}}