---
title: "Activate a user"
method: POST
path: "/users/{id}/activate"
tags: ["Users"]
---

# Activate a user

`POST /users/{id}/activate`

## Request

- Base URL: `https://api.production.yourmedley.com`
- URL: `https://api.production.yourmedley.com/users/{id}/activate`
- Auth: HTTP bearer

Reactivate a deactivated internal user

## Path parameters

- `id` string, uuid, required

## Response `200`

User activated successfully

- object
  - `success` boolean
  - `data` object
    - `id` string
    - `is_active` boolean
  - `message` string

## Other responses

- `400`: Bad request - user already active
- `401`: Unauthorized
- `404`: User not found

---

[API](https://skmtc.dev/withmedley/apis/medley-api.md) - [All operations](https://skmtc.dev/withmedley/apis/medley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/withmedley/apis/medley-api/revisions/40aaac5ca6bd?raw)
