curl --request POST \
--url https://api.icepanel.io/v1/organizations/{organizationId}/github/installs \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"code": "<string>",
"githubInstallId": 123
}'
{
"githubInstall": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"githubId": 123,
"id": "<string>",
"organizationId": "<string>",
"ownerId": 123,
"ownerLogin": "<string>",
"ownerType": "bot",
"senderId": 123,
"senderLogin": "<string>",
"senderType": "bot",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
curl --request POST \
--url https://api.icepanel.io/v1/organizations/{organizationId}/github/installs \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"code": "<string>",
"githubInstallId": 123
}'
{
"githubInstall": {
"createdAt": "2023-11-07T05:31:56Z",
"createdBy": "user",
"createdById": "<string>",
"githubId": 123,
"id": "<string>",
"organizationId": "<string>",
"ownerId": 123,
"ownerLogin": "<string>",
"ownerType": "bot",
"senderId": 123,
"senderLogin": "<string>",
"senderType": "bot",
"updatedAt": "2023-11-07T05:31:56Z"
}
}
OK
The response is of type object
.