Documentation Index
Fetch the complete documentation index at: https://mintlify.com/YamiDarknezz/task-forge-api/llms.txt
Use this file to discover all available pages before exploring further.
POST /api/users/{user_id}/activate
Sets a user’s is_active flag to true, restoring their ability to authenticate and use the API. This endpoint is restricted to administrators.
Authentication
Requires a valid Bearer access token. The authenticated user must have the admin role.Path Parameters
The ID of the user to activate.
Request Body
No request body is required.Response
true when the activation succeeds.Human-readable confirmation message.
The updated user object with
is_active: true.Errors
| Status | Description |
|---|---|
401 | Missing or invalid access token. |
403 | The authenticated user does not have the admin role. |
404 | No user exists with the given user_id. |