> ## Documentation Index
> Fetch the complete documentation index at: https://tickblaze.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Reactivate a user

> Restore access for a previously deactivated user. This endpoint reactivates only the user profile and does not change trading accounts.



## OpenAPI

````yaml /openapi.json post /api/users/{id}/reactivate/
openapi: 3.0.3
info:
  title: TBBO API
  version: 1.0.0
  description: >
    Authentication uses short-lived session tokens (3 hours).


    Send the token with every request using the `Authorization` header:


    ```

    Authorization: Token <token>

    ```


    Example:


    ```

    Authorization: Token 123abc456def789

    ```


    To obtain a token, call `POST /auth/login/` with valid credentials. The
    response includes a `key` value. Use that value in the header above for
    subsequent API calls.


    How to find required IDs:


    - `challenge_id`: Prop Tech Configuration -> Challenges

    - `user_id`: Tickblaze Manager -> Users

    - `account_id`: Tickblaze Manager -> Accounts 
servers: []
security: []
tags:
  - name: withdrawals
    description: Withdrawal related endpoints
    x-displayName: Withdrawals
paths:
  /api/users/{id}/reactivate/:
    post:
      tags:
        - Users
      summary: Reactivate a user
      description: >-
        Restore access for a previously deactivated user. This endpoint
        reactivates only the user profile and does not change trading accounts.
      operationId: api_users_reactivate_create
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          description: A unique integer value identifying this user.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserReactivationRequest'
            examples:
              ReactivateUser:
                value:
                  reason: User access restored after account review.
                summary: Reactivate a user profile
                description: >-
                  Example request for restoring access to a previously
                  deactivated user.
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UserReactivationRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/UserReactivationRequest'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse'
          description: ''
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse'
          description: The user cannot be reactivated.
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetailResponse'
          description: The user was not found.
      security:
        - tokenAuth: []
components:
  schemas:
    UserReactivationRequest:
      type: object
      properties:
        reason:
          type: string
          maxLength: 2000
      required:
        - reason
    DetailResponse:
      type: object
      properties:
        detail:
          type: string
      required:
        - detail
  securitySchemes:
    tokenAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Token-based authentication with required prefix "Token"

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.