POST
/
v1
/
account
/
integrations
/
github
/
connect
Authorization
Body
const { setToken, Account } = require('@evecloud/sdk');

setToken('TOKEN');

Account.integrations.github.connect('CODE', 'INSTALLATION_ID').then((data) => {
    console.log(data);
}).catch((error) => {
    console.log(error);
});
{
  "message": "GitHub connected successfully."
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
code
string

The GitHub code.

installationId
string

The GitHub installation ID.

Response

200 - application/json
message
string

The success message.