---
title: "Deactivate member"
method: POST
path: "/challenge/{public_id}/deactivate_member/"
tags: ["challenge"]
---

# Deactivate member

`POST /challenge/{public_id}/deactivate_member/`

Deactivate a member from the challenge

## Query parameters

- `profile` string, uuid, required
- `team` string, uuid
- `is_active` boolean

## Request body

- ProfileAsProfilePublicIdAndTeamAsTeamPublicId
  - `profile` string, uuid, required — A profile public_id is expected
  - `team` string, uuid — A team public_id is expected
  - `is_active` boolean — Whether profile actively participates in challenge. While inactive, scores/leaderboard will not be updated but still be visible.

## Response `201`

Created

- ProfileAsProfilePublicIdAndTeamAsTeamPublicId
  - `profile` string, uuid, required — A profile public_id is expected
  - `team` string, uuid — A team public_id is expected
  - `is_active` boolean — Whether profile actively participates in challenge. While inactive, scores/leaderboard will not be updated but still be visible.

---

[API](https://skmtc.net/wefitter/apis/wefitter-api.md) · [All operations](https://skmtc.net/wefitter/apis/wefitter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wefitter/wefitter-api/revisions/52b0eb5e8b96/schema)
