v1

latestOpenAPI 3.0.3FortiCNAPP Use License2026-08-041754351.1 MB
TeamMembers

Update Team Member

Optionally update the userName anduserEnabled settings and the props sub-settings of the passed in team member. Update these settings by invoking the following endpoint:

PATCH https://YourAccount.lacework.net/api/v2/TeamMembers/{userGuid}

Replace {userGuid} with the userGuid value returned for a team member in the response, when invoking the following endpoint: GET /api/v2/TeamMembers.

Here is an example body payload:

{ "props": {"firstName":"Jane"} }

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.

patch/api/v2/TeamMembers/{userGuid}

Path parameters

userGuidstring required

User Guid

Headers

Authorizationstring required

Bearer Access Token. For example, "Bearer {YourAPIToken}"

Content-Typestring required

application/json

Org-Accessboolean

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.

Account-Namestring

Use this attribute to specify which sub-account to access.

Request body

OR

Response

No Error