airtable-sdk-php

Flexible SDK for the Airtable API for PHP.

View the Project on GitHub Beachcasts/airtable-sdk-php

Getting Started
Client Connection
Create
Read
Update
Update
Replace
Delete
List

Delete() method usage

require_once('../vendor/autoload.php');

use Beachcasts\Airtable\AirtableClient;
use Beachcasts\Airtable\Config;

Dotenv\Dotenv::createImmutable(__DIR__ . '/../')->load();

$baseId = <your_base_id>;
$tableName = <your_table_name>;

$airtableClient = new AirtableClient(Config::fromEnvironment(), $baseId);

$table = $airtableClient->getTable($tableName);

$id = <your_record_id>;
$content = $table->delete($id);

echo $content->getBody()->getContents();