omit
ObjectRemoves the specified fields from an object or every object in an array. The inverse of pick — useful when you want most fields but need to drop a few noisy or sensitive ones.
Syntax
omit:field1,field2,...fieldsOne or more field names to remove, separated by commasUse cases
| Use case | Description | URL | |
|---|---|---|---|
| Strip internal repo metadata | Remove low-signal API fields like node_id, url, and git URLs from repo objects. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|head:5|omit:node_id,id,url,git_url,ssh_url,clone_url,svn_url | |
| Clean up user objects | Drop the deeply-nested address and company fields to get a flat user record. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/users|omit:address,company | |
| Remove post body for listing | Omit the long body field to get a compact post index. | https://httpip.es/api/pipe/fetch:https://jsonplaceholder.typicode.com/posts|head:10|omit:body | |
| Drop timestamp fields | Remove created_at and updated_at when you only need the content. | https://httpip.es/api/pipe/fetch:https://api.github.com/users/octocat/repos|head:5|omit:created_at,updated_at,pushed_at |