code: public function removeMediaFromFolder($folderId, $mediaId)
      {
          $parameters = [
              'query' => [],
              'body' => json_encode([], JSON_UNESCAPED_UNICODE),
              'headers' => [],
          ];
  
          $result = $this->delete('v1/folders/' . $folderId . '/media/' . $mediaId . '', $parameters);
  
          return $result;
      }
docs: Remove Media from Folder.
  
  @param  int   $folderId folder to remove media from
  @param  int   $mediaId  media to remove from specified folder
  @return array