title: how do I delete installed github app from my github organization
body: <p>I have never worked in ruby before . Github has a script that runs in ruby for JWT generation . I've been trying to run that script on repl.it and have been failing . This is a screen shot of the error i'm getting . and this is a link to github docs referring to the same script -&gt; <a href="https://docs.github.com/en/free-pro-team@latest/developers/apps/authenticating-with-github-apps#authenticating-as-a-github-app" rel="nofollow noreferrer">https://docs.github.com/en/free-pro-team@latest/developers/apps/authenticating-with-github-apps#authenticating-as-a-github-app</a> .</p>
  <p><a href="https://i.stack.imgur.com/64Qc8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/64Qc8.png" alt="enter image description here" /></a></p>
  <p>I've been trying to generate this token through javascript but i get Integration not found error everytime i use that token .</p>
  <pre><code>const privateKey = fs.readFileSync(&quot;key.pem&quot;);
  const currentDate = new Date();
  const nowTime = Math.floor(currentDate.getTime() / 1000);
  const payload = {
    // issued at time
    iat: nowTime,
    // JWT expiration time (10 minute maximum)
    exp: 600 + nowTime,
    // GitHub App's identifier
    iss: 12345678,
  };
  const token = jwt.sign(payload, privateKey, { algorithm: &quot;RS256&quot; });
  </code></pre>
  <p>Error i get when calling through postman</p>
  <p><a href="https://i.stack.imgur.com/mlgCk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mlgCk.png" alt="enter image description here" /></a></p>
  <p>Link to github docs referring to the deletion of installed apps -&gt; <a href="https://docs.github.com/en/free-pro-team@latest/rest/reference/apps#delete-an-installation-for-the-authenticated-app" rel="nofollow noreferrer">https://docs.github.com/en/free-pro-team@latest/rest/reference/apps#delete-an-installation-for-the-authenticated-app</a></p>