Anchor to eventBridgeServerPixelUpdateevent
eventBridgeServerPixelUpdate
mutation
Requires access scope. Also: The app must have the read_customer_events and write_server_pixels access scopes.
Updates the server pixel to connect to an EventBridge endpoint. Running this mutation deletes any previous subscriptions for the server pixel.
Anchor to Arguments
Arguments
- •ARN!required
The ARN for the EventBridge endpoint to which customer events are to be sent.
Was this section helpful?
Anchor to EventBridgeServerPixelUpdatePayload returnsEventBridgeServerPixelUpdatePayload returns
- Anchor to serverPixelserver•
Pixel The server pixel as configured by the mutation.
- Anchor to userErrorsuser•
Errors [ErrorsServer non-nullPixel User Error!]! The list of errors that occurred from executing the mutation.
Was this section helpful?
Mutation Reference
mutation eventBridgeServerPixelUpdate($arn: ARN!) {
eventBridgeServerPixelUpdate(arn: $arn) {
serverPixel {
# ServerPixel fields
}
userErrors {
field
message
}
}
}
Input
{
"arn": ""
}
{
"arn": ""
}