GitHub
Connect
Connects GitHub to your account.
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
headerrequiredBearer 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.
Was this page helpful?
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."
}