16.10.2 The “-K” (“--primary-keys”) Query Flag

The “-K” (“--primary-keys”) query flag returns only the primary keys of each object in the query response.

There are some exceptions to this:

  • With set objects, the "members:" attributes will also be returned.
  • With route and route6 objects both the prefix and the “origin:” attribute are returned as these jointly provide the primary key.
  • No information is returned for person, role or organisation objects.