---
title: "POST /admin/v1/users/{username}/actions/{action}"
method: POST
path: "/admin/v1/users/{username}/actions/{action}"
tags: ["Users"]
---

# POST /admin/v1/users/{username}/actions/{action}

`POST /admin/v1/users/{username}/actions/{action}`

## Request

- Base URL: `https://instance-tenant.apis.medallia.com`
- URL: `https://instance-tenant.apis.medallia.com/admin/v1/users/{username}/actions/{action}`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://{reporting-hostname}/oauth/{company}/token`

Perform the specified action on the user account

## Path parameters

- `username` string, identifier, required
- `action` 'reset-password' | 'activate' | 'inactive', required

## Response `204`

The action was successfully executed

## Other responses

- `400`: An error occured processing the request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Object not found
- `412`: Precondition failed
- `500`: Internal server error

---

[API](https://skmtc.dev/medallia/apis/users-api.md) - [All operations](https://skmtc.dev/medallia/apis/users-api/llms.txt) - [OpenAPI document](https://skmtc.dev/medallia/apis/users-api/revisions/23bcb0ae0af9?raw)
