Swapnil_Pandey | 2024-05-21 20:06:55 UTC | #1
Hi, I'm using an api: /api/v2/users?expand=authorization I need only 'roles' field from this api not the 'permission' field in response(authorization array), is there any way we can exclude the list of 'permission' from coming in response?
Eos_Rios | 2024-05-21 20:14:30 UTC | #2
No. APIs return the structure their contract specifies. If you expand authorization you get the entire UserAuthorization object as it's defined in Schema
system | 2024-06-20 20:15:08 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 26388