---
title: "Update tenant-based handle"
method: PATCH
path: "/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}"
tags: ["Microsoft Teams Integration"]
---

# Update tenant-based handle

`PATCH /api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id}`
- Auth: API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`

Update a tenant-based handle from the Datadog Microsoft Teams integration.

## Path parameters

- `handle_id` string, required

## Request body

- MicrosoftTeamsUpdateTenantBasedHandleRequest: Update tenant-based handle request.
  - `data` MicrosoftTeamsUpdateTenantBasedHandleRequestData, required: Tenant-based handle data from a response.
    - `attributes` MicrosoftTeamsTenantBasedHandleAttributes, required: Tenant-based handle attributes.
      - `channel_id` string: Channel id.
      - `name` string: Tenant-based handle name.
      - `team_id` string: Team id.
      - `tenant_id` string: Tenant id.
    - `type` 'tenant-based-handle', required: Specifies the tenant-based handle resource type.

## Response `200`

OK

- MicrosoftTeamsTenantBasedHandleResponse: Response of a tenant-based handle.
  - `data` MicrosoftTeamsTenantBasedHandleResponseData, required: Tenant-based handle data from a response.
    - `attributes` MicrosoftTeamsTenantBasedHandleAttributes: Tenant-based handle attributes.
      - `channel_id` string: Channel id.
      - `name` string: Tenant-based handle name.
      - `team_id` string: Team id.
      - `tenant_id` string: Tenant id.
    - `id` string: The ID of the tenant-based handle.
    - `type` 'tenant-based-handle': Specifies the tenant-based handle resource type.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `412`: Failed Precondition
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
