seregazhuk\PinterestBot\Api\Traits\CanBeDeleted::delete PHP Method

delete() public method

Delete entity by ID.
public delete ( integer $entityId ) : boolean
$entityId integer
return boolean
    public function delete($entityId)
    {
        return $this->execPostRequest([$this->getEntityIdName() => $entityId], $this->getDeleteUrl());
    }