---
title: "Activates the user with the specified id."
method: POST
path: "/roles/{roleId}/users/{userId}/activate"
tags: ["roles"]
---

# Activates the user with the specified id.

`POST /roles/{roleId}/users/{userId}/activate`

<Check title="Required Permissions" icon="key">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>

## Path parameters

- `roleId` string, uuid, required
- `userId` string, uuid, required

## Headers

- `Authorization` string, required

## Response `200`

OK

- RolesPostRoleUserActivateByRoleIdAndUserIdResponse200 — Empty response body

## Other responses

- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/awork-io/apis/api-v1-reference.md) · [All operations](https://skmtc.net/awork-io/apis/api-v1-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awork-io/api-v1-reference/versions/f784a53f60df/schema)
