> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hexclave.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TeamPermission

> Reference for the TeamPermission type representing permissions within a team.

The `TeamPermission` object represents a permission that a user has within a team. Currently, it contains only an `id` to specify the permission.You can get `TeamPermission` objects by calling functions such as `user.getPermission(...)` or `user.listPermissions()`.## Table of ContentsTeamPermission Table of Contents<pre />## Properties

\<details>

\<summary>`teamPermission.id`
          
            
            teamPermission</summary>

      

The identifier of the permission.

Type Definition

\`typescript declare const id: string; `

\</details>

## Access`TeamPermission` objects can be obtained through methods like `user.getPermission(...)` or `user.listPermissions()`.See [User permissions methods](https://docs.hexclave.com/sdk/types/user.md#permissions) for full details on retrieving and checking permissions.
