コード例 #1
0
ファイル: Git.php プロジェクト: sq3hll/github_Api
 public static function deleteRepository($delete_url, $token)
 {
     $headers[] = sprintf('Authorization: token %s', $token);
     $delete_url = 'https://api.github.com/repos/' . $delete_url;
     return CurlComunication::simpleDelete($delete_url, $headers);
 }