---
title: "POST /update/state"
method: POST
path: "/update/state"
---

# POST /update/state

`POST /update/state`

## Request

- Base URL: `https://localhost:3000`
- URL: `https://localhost:3000/update/state`
- Auth: none declared

This API is used to update the state of a user.
<table>
  <tr>
    <th>Field</th>
    <th>Possible values</th>
    <th>Mandatory/Optional</th>
  </tr>
  <tr>
    <td>username</td>
    <td>test1</td>
    <td>Mandatory</td>
  </tr>
   <tr>
    <td>is_deactivate</td>
    <td>true</td>
    <td>Mandatory</td>
  </tr>
</table>

## Request body

- object

## Response `200`

OK

- object

## Changes

- **2022-01-03** `c458368988db`: 1 info
  - endpoint added
- **2021-08-11** `a0a4301b0ab2`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/litmuschaos/apis/litmus-portal-authentication-api/changes/update/state/post.md)

---

[API](https://skmtc.dev/litmuschaos/apis/litmus-portal-authentication-api.md) - [All operations](https://skmtc.dev/litmuschaos/apis/litmus-portal-authentication-api/llms.txt) - [OpenAPI document](https://skmtc.dev/litmuschaos/apis/litmus-portal-authentication-api/revisions/2c5524204359?raw)
