Mutation
mutation UpdateSidekickPosthogConfig($input: UpdateSidekickPosthogConfigInput!) {
updateSidekickPosthogConfig(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"
}
}Response
{
"data": {
"updateSidekickPosthogConfig": {
"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
updateSidekickPosthogConfig
Updates the operating instructions and default project that guide how Sidekick uses the PostHog integration. Pass null or an empty string to clear either field.
MUTATION
updateSidekickPosthogConfig(input: UpdateSidekickPosthogConfigInput!): UpdateSidekickPosthogConfigOutput!Arguments
input
required
serviceAuthorization
error
Mutation
mutation UpdateSidekickPosthogConfig($input: UpdateSidekickPosthogConfigInput!) {
updateSidekickPosthogConfig(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"
}
}Response
{
"data": {
"updateSidekickPosthogConfig": {
"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?

