---
title: "Deactivate User"
method: PUT
path: "/tenants/{tenant_id}/users/{id}/deactivate"
tags: ["Users"]
---

# Deactivate User

`PUT /tenants/{tenant_id}/users/{id}/deactivate`

Change a user's status to `deactivated`.

---

This action will immediately log the deactivated user out of the Aurora App. For invited users, this also invalidates their invitation

## Path parameters

- `tenant_id` string, uuid, required
- `id` string, uuid, required

## Response `204`

User successfully deactivated.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Unprocessable Entity

---

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