Mutation
mutation UpdateSidekickGithubConfig($input: UpdateSidekickGithubConfigInput!) {
updateSidekickGithubConfig(input: $input) {
serviceAuthorization {
id
serviceIntegration {
name
key
}
status
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceAuthorizationId": "id",
"selectedRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string"
}
]
}
}Response
{
"data": {
"updateSidekickGithubConfig": {
"serviceAuthorization": {
"id": "id",
"serviceIntegration": {
"name": "string",
"key": "string"
},
"status": "PENDING_AUTH",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Mutations
updateSidekickGithubConfig
Updates which GitHub repositories Sidekick has access to and the operating instructions (workspace-level and per-repo) that guide its behavior. Replaces the full repo selection — omitting a repo removes it. Requires the GitHub service authorization to exist first.
MUTATION
updateSidekickGithubConfig(input: UpdateSidekickGithubConfigInput!): UpdateSidekickGithubConfigOutput!Arguments
input
required
Returns
serviceAuthorization
error
Mutation
mutation UpdateSidekickGithubConfig($input: UpdateSidekickGithubConfigInput!) {
updateSidekickGithubConfig(input: $input) {
serviceAuthorization {
id
serviceIntegration {
name
key
}
status
createdAt {
unixTimestamp
iso8601
}
createdBy {
__typename
... on UserActor {
__typename
}
}
updatedAt {
unixTimestamp
iso8601
}
}
error {
message
type
code
fields {
field
message
type
}
}
}
}Variables
{
"input": {
"serviceAuthorizationId": "id",
"selectedRepos": [
{
"repoId": "id",
"owner": "string",
"name": "string"
}
]
}
}Response
{
"data": {
"updateSidekickGithubConfig": {
"serviceAuthorization": {
"id": "id",
"serviceIntegration": {
"name": "string",
"key": "string"
},
"status": "PENDING_AUTH",
"createdAt": {
"unixTimestamp": "string",
"iso8601": "string"
},
"createdBy": {
"__typename": "UserActor"
},
"updatedAt": {
"unixTimestamp": "string",
"iso8601": "string"
}
},
"error": {
"message": "string",
"type": "VALIDATION",
"code": "string",
"fields": [
{
"field": "string",
"message": "string",
"type": "VALIDATION"
}
]
}
}
}
}Was this page helpful?

