---
title: "PUT /challenge/{public_id}/deactivate_member/"
method: PUT
path: "/challenge/{public_id}/deactivate_member/"
tags: ["challenge"]
---

# PUT /challenge/{public_id}/deactivate_member/

`PUT /challenge/{public_id}/deactivate_member/`

This docstring is used by Django Rest Framework

## 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 `200`

OK

- 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)
