How to remove an attribute from OKTA response API


#1

Hi,

When we call OKTA userList API it is returning the below result. How can i remove the Location field from the response data.

“profile”: {
“firstName”: “Sajith”,
“lastName”: “TG”,
“mobilePhone”: null,
“secondEmail”: null,
“login”: "sajith@teapp.com",
“email”: "sajith@teapp.com",
“Location”: “Tokyo”
}

Thanks
Sajith


#2

Please don’t post the same question twice. I’ll answer it here: OKTA User API Customize with required field


#3