---
title: "Update the private testing invites for the map"
method: PUT
path: "/v1/maps/{mapID}/testInvite"
tags: ["Maps"]
---

# Update the private testing invites for the map

`PUT /v1/maps/{mapID}/testInvite`

## Request

- Base URL: `https://api.momentum-mod.org` (the document declares no server; this is the origin it was published from)
- URL: `https://api.momentum-mod.org/v1/maps/{mapID}/testInvite`
- Auth: HTTP bearer

## Path parameters

- `mapID` number, required

## Request body

- CreateMapTestInviteDto
  - `userIDs` string[], required: Array of userIDs to invite/disinvite. Users on array, without existing invites are added, users not on array WITH existing invites are removed.

## Response `204`

---

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