---
title: "Unmap a stats perform mapping"
method: PUT
path: "/api/stats/unmap/{id}"
tags: ["Stats"]
---

# Unmap a stats perform mapping

`PUT /api/stats/unmap/{id}`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/stats/unmap/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/stats/unmap/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

Sets the su_team_id to null for the specified Stats Perform mapping, effectively unmapping it from a SponsorUnited team/property.

## Path parameters

- `id` integer, required

## Response `200`

Unmapped mapping

- StatsMappingDto: Data Transfer Object representing a stats perform mapping entry
  - `id` integer: Unique identifier for the mapping
  - `statsSport` string: Name of the sport in Stats Perform system
  - `statsSportId` integer: Numeric ID of the sport in Stats Perform system
  - `statsLeagueAbbreviation` string, nullable: League abbreviation in Stats Perform system
  - `statsLeagueName` string, nullable: League name in Stats Perform system
  - `statsTeamId` string, nullable: Team identifier in Stats Perform system
  - `statsTeamName` string, nullable: Team name in Stats Perform system
  - `suTeamId` integer, nullable: SponsorUnited team/property ID
  - `suTeamName` string, nullable: SponsorUnited team/property name
  - `statsApi` string: Stats Perform API source identifier

## Other responses

- `401`: Unauthorized
- `404`: Mapping not found

---

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