# In a namespace kubectl api-resources --namespaced=true # Not in a namespace kubectl api-resources --namespaced=false