Search Team Members
Search all team members in your FortiCNAPP instance by invoking the following endpoint:
POST https://YourAccount.lacework.net/api/v2/TeamMembers/search
To limit the returned result, optionally specify one or more filters in the request body. For more information about using filters, see the Simple & Advanced Search section.
You can filter on the following fields:
-
custGuid
-
userGuid
-
userName
-
userEnabled
Here is an example body payload:
{ "filters" : [ { "expression": "eq", "field": "userName", "value": "jane.smith@mycompany.com" } ] }
Note: This API is deprecated and is unavailable if you have migrated to the new RBAC model in your FortiCNAPP Console. See Access Control for more information about the new RBAC model.
Headers
Bearer Access Token. For example, "Bearer {YourAPIToken}"
application/json
Use this attribute to specify if the access token has organization admin permissions. If the access token has only account permissions, use the Account-Name attribute to specify which account to access.
Use this attribute to specify which sub-account to access.
Request body
Response
No Error (List of Team Members)