---
title: "Validate an exact transient roster membership proposal"
method: POST
path: "/v2/roster/membership-changes/validate"
tags: ["Roster Builder"]
---

# Validate an exact transient roster membership proposal

`POST /v2/roster/membership-changes/validate`

## Request

- Base URL: `https://api.clashk.ing`
- URL: `https://api.clashk.ing/v2/roster/membership-changes/validate`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Request body

- object
  - `serverId` string, required: Discord snowflake as an unsigned decimal string
  - `rosterIds` string[], required
  - `changes` object[], required
    - `action` 'add' | 'remove' | 'move', required
    - `playerTag` string, required
    - `fromRosterId` string
    - `toRosterId` string
    - `reason` string

## Response `200`

Success

- object
  - `type` 'membershipProposal', required
  - `changes` object[], required
    - `action` 'add' | 'remove' | 'move', required
    - `playerTag` string, required
    - `fromRosterId` string
    - `toRosterId` string
    - `reason` string
  - `expectedRevisions` object, required
  - `generatedAt` string, required
  - `counts` object, required
    - `add` union, required
      - number
      - 'NaN'
      - 'Infinity'
      - '-Infinity'
    - `move` union, required
      - number
      - 'NaN'
      - 'Infinity'
      - '-Infinity'
    - `remove` union, required
      - number
      - 'NaN'
      - 'Infinity'
      - '-Infinity'
  - `items` object[], required
    - `action` 'add' | 'move' | 'remove', required
    - `playerTag` string, required
    - `fromRoster` string, required
    - `toRoster` string, required
    - `reason` string, required

## Other responses

- `400`: Expected error
- `401`: Expected error
- `403`: Expected error
- `404`: Expected error
- `409`: Expected error
- `413`: Expected error
- `429`: Expected error
- `503`: Expected error

## Changes

- **2026-09-09** `9ec0debedfc6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/clashk/apis/clashking-api/changes/v2/roster/membership-changes/validate/post.md)

---

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