src/Resources/DbSchemaResource.php
public function deleteRelationships($table, $relationships)
    {
        $relationships = static::validateAsArray(
            $relationships,
            ',',
            true,
            'The request contains no valid table field names or properties.'
        );

        $out = [];
        foreach ($relationships as $relationship) {
            $name = (is_array($relationship)) ? array_get($relationship, 'name') : $relationship;
            $this->validateSchemaAccess($table, Verbs::DELETE);
            $out[] = $this->deleteRelationship($table, $name);
        }

        return $out;
    }
public function deleteRelationships($table, $relationships)
    {
        $relationships = static::validateAsArray(
            $relationships,
            ',',
            true,
            'The request contains no valid table field names or properties.'
        );

        $out = [];
        foreach ($relationships as $relationship) {
            $name = (is_array($relationship)) ? array_get($relationship, 'name') : $relationship;
            $this->validateSchemaAccess($table, Verbs::DELETE);
            $out[] = $this->deleteRelationship($table, $name);
        }

        return $out;
    }
Delete multiple table fields

@param string $table
@param array  $relationships

@throws \Exception
@return array