> ## 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.

# Update user contact details

> Allows authorized callers to update supported user profile/contact fields and KYC verification status. Use deactivate/reactivate endpoints to manage user access.



## OpenAPI

````yaml /openapi.json patch /api/users/{id}/
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}/:
    patch:
      tags:
        - Users
      summary: Update user contact details
      description: >-
        Allows authorized callers to update supported user profile/contact
        fields and KYC verification status. Use deactivate/reactivate endpoints
        to manage user access.
      operationId: api_users_partial_update
      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/PatchedUserAdminUpdate'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedUserAdminUpdate'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedUserAdminUpdate'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: object
                additionalProperties: {}
          description: >-
            Returns a confirmation object with `details` when the user details
            are updated.
      security:
        - tokenAuth: []
components:
  schemas:
    PatchedUserAdminUpdate:
      type: object
      properties:
        full_name:
          type: string
          maxLength: 100
        phone:
          type: string
          nullable: true
          maxLength: 100
        country_code:
          type: string
          nullable: true
          maxLength: 100
        state:
          type: string
          nullable: true
          maxLength: 100
        city:
          type: string
          nullable: true
          maxLength: 100
        address_1:
          type: string
          nullable: true
          maxLength: 500
        address_2:
          type: string
          nullable: true
          maxLength: 500
        postcode:
          type: string
          nullable: true
          maxLength: 100
        blocked:
          type: boolean
        kyc_verified:
          type: boolean
  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.