---
title: "Assign user attributes to a team"
method: POST
path: "/v2/teams/{teamId}/assignedUserAttributes"
tags: ["Teams"]
---

# Assign user attributes to a team

`POST /v2/teams/{teamId}/assignedUserAttributes`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/teams/{teamId}/assignedUserAttributes`
- Auth: HTTP bearer

Assign one or more user attributes to a specific team.

  ### Usage notes
  - Retrieve the **teamId** by calling the [/v2/teams](https://help.sigmacomputing.com/reference/list-teams) endpoint.
  - Retrieve a list of available user attributes by calling the [/v2/user-attributes](https://help.sigmacomputing.com/reference/list-user-attributes) endpoint.
  - Maximum 100 assignments per request.

## Path parameters

- `teamId` string, required

## Request body

- object
  - `assignments` V2TeamsTeamIdAssignedUserAttributesPostRequestBodyContentApplicationJsonSchemaAssignmentsItems[], required
    - `userAttributeId` string, required: Unique identifier of the user attribute.
    - `value` V2TeamsTeamIdAssignedUserAttributesPostRequestBodyContentApplicationJsonSchemaAssignmentsItemsValue, required: The value of the user attribute
      - `type` 'string', required: Type of user attribute.
      - `val` string, required: Value of the user attribute.

## Response `200`

The response body.

- TeamsAssignUserAttributesToTeamResponse200

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
