---
title: "Team Member Details"
method: GET
path: "/api/v2/TeamMembers/{userGuid}"
tags: ["TeamMembers"]
deprecated: true
---

# Team Member Details

`GET /api/v2/TeamMembers/{userGuid}`

> **Deprecated.**

Get details about a team member by invoking the following endpoint:

  > `GET 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` 

 **Note**: This API is deprecated and is unavailable if you have migrated to the new RBAC model in your FortiCNAPP Console. See [Access Control](https://docs.fortinet.com/document/forticnapp/latest/administration-guide/873733/access-control-overview) for more information about the new RBAC model.

## Path parameters

- `userGuid` string, required

## Headers

- `Authorization` string, required
- `Content-Type` string, required
- `Org-Access` boolean
- `Account-Name` string

## Response `200`

No Error

- object
  - `data` union
    - TeamMembersWithOrgAccessResponseSchema
      - `schemaOption` 'With_Org-Access' — Not required.
      - `props` object, required
        - `firstName` string, required
        - `lastName` string
        - `company` string, required
        - `accountAdmin` boolean — If team member is a current account admin, this field will be ignored if org-access is true
      - `orgAdmin` boolean — When sending a request, set to `True` to make the team member an organization admin. Otherwise, set to `False`. When included in a response, returns the role assigned to the team member. **Note:** If the team member is currently an organization admin, FortiCNAPP ignores the `adminRoleAccounts` and `userRoleAccounts` attributes.
      - `orgUser` boolean — When sending a request, set to `True` to make the new member an organization user. Otherwise, set to `False` When included in a response, returns the role assigned to the new member. **Note:** If the team member is currently an organization user, FortiCNAPP will ignore the `userRoleAccounts` attribute.
      - `adminRoleAccounts` string[], required — A list of account names for which this team member will be an admin.
      - `userRoleAccounts` string[], required — A list of account names for which this team member will be a user.
      - `userEnabled` 1 | 0, required
      - `userName` string, required — user email address
      - `userGuid` string — user guid
    - TeamMembersWithoutOrgAccessResponseSchema
      - `schemaOption` 'Without_Org-Access' — Select `Without_Org-Access` to create team members for an account. Select `With_Org-Access` to create team members for an organization.
      - `props` object, required — Details of the new team member. The data varies based on the value of the `schemaOptions` attribute.
        - `firstName` string, required — The new team member's first name.
        - `lastName` string — The new team member's last name.
        - `company` string, required — The new team member's company.
        - `accountAdmin` boolean — When sending a request, set to `True` to make the new member an account admin. Set to `False` to make the new member an account user. When included in a response, returns the role assigned to the new member. **Note:** If the team member is currently an account admin, and the `schemaOption` is set to `With_Org-Access`, FortiCNAPP will ignore this attribute.
      - `userEnabled` 1 | 0, required — When sending a request, use this attribute to enable or disable a team member's access. When included in a response, returns `1` for enabled team members, or returns `0` for disabled team members.
      - `userName` string, required — The new team member's email address.
      - `userGuid` string — user guid
      - `custGuid` string — customer guid

## Other responses

- `4XX` — Client Error
- `5XX` — Internal Server Error

---

[API](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation.md) · [All operations](https://skmtc.net/lacework/apis/forticnapp-api-2-0-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lacework/forticnapp-api-2-0-documentation/versions/7015f76895f2/schema)
