Remove stray customer object from detach-contact request examples - #649
Merged
Conversation
The request-body examples for detaching a contact from a group conversation included a customer object with an intercom_user_id. That field is not part of the request schema and the endpoint ignores it -- the contact to detach is taken from the URL path. The examples also named a different contact in the body than in the path, which misled readers into thinking the body identifies the contact. Removes the object from all four examples on the operation, in every published version. Examples only; no schema change. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YXXKa8L8m446cLYBiqtsWF
MatthewPelyhes
approved these changes
Aug 28, 2026
MatthewPelyhes
left a comment
There was a problem hiding this comment.
Looks good to me. Good catch!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
注册 for free
to join this conversation on GitHub.
Already have an account?
登录 to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why?
The request-body examples for detaching a contact from a group conversation included a
customerobject. That field isn't part of the request schema and the endpoint ignores it — the contact to detach comes from the URL — so the examples told readers to send something that does nothing, and named a different contact in the body than in the path.How?
Removes that object from all four request examples on the operation, across Preview and v2.7–v2.16, leaving only the admin id the endpoint actually reads.
Generated with Claude Code