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

# Reactivate a person.



## OpenAPI

````yaml /openapi.json post /api/v1/people/{personId}/reactivate
openapi: 3.1.0
info:
  title: Firstbase API Specification Beta
  description: Integration endpoints for Firstbase
  version: 0.1.0
servers:
  - url: /
    description: Default
security:
  - ApiKey: []
tags:
  - name: Inventory Orders
    description: Create and manage inventory orders
  - name: Shipment Notices V1
    description: 'Query shipment notice orders (V1: package items expose `inventories` list)'
  - name: Packages
    description: ''
  - name: Categories
    description: Query available categories for asset creation
  - name: Catalog
    description: ''
  - name: New Joiners
    description: New joiner provisioning pipeline for the organization
  - name: Orders
    description: ''
  - name: People
    description: >-
      Manage the users of Firstbase for your organization. API follows the SCIM
      standard.
    externalDocs:
      url: https://scim.cloud/
  - name: People — Lifecycle
    description: Offboard and reactivate users.
  - name: Assets
    description: Manage inventory assets
  - name: Regions V1
    description: Query regions (V1)
  - name: Warehouses V1
    description: Query warehouses (V1)
  - name: Brands
    description: Query available brands for asset creation
  - name: Inventory
    description: ''
  - name: Replacements
    description: Create and manage equipment replacements
  - name: Offices
    description: Manage and query office locations for the authenticated organization
  - name: Returns
    description: Return and Replacements
paths:
  /api/v1/people/{personId}/reactivate:
    post:
      tags:
        - People — Lifecycle
      summary: Reactivate a person.
      operationId: reactivate
      parameters:
        - name: personId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/Person'
        '400':
          description: Validation or business rule error
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
        '403':
          description: Contract tier not available or feature flag disabled
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
        '404':
          description: Person not found
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
        '409':
          description: Conflict
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/PublicApiHttpErrors'
components:
  schemas:
    Person:
      type: object
      description: A person (employee) record in Firstbase
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for this person
          example: e2bd9633-46b4-4286-85bd-3403a3f17e0f
        role:
          type: string
          description: >-
            Role of this person within the organization (BASIC = standard
            employee, ADMIN = org admin)
          enum:
            - BASIC
            - ADMIN
          example: BASIC
        firstName:
          type: string
          description: First name of the person
          example: Jenny
        lastName:
          type: string
          description: Last name of the person
          example: Smith
        email:
          type: string
          description: Primary email address, used for platform login and notifications
          example: jenny@example.com
        secondaryEmail:
          type: string
          description: Secondary email address; null when not provided
          example: jenny@secondary.example.com
        phoneNumber:
          type: string
          description: Phone number from the person's home address; null when not provided
          example: 555-867-5309
        startDate:
          type: string
          format: date
          description: Employment start date, used to trigger onboarding timelines
          example: '2023-11-22'
        homeAddress:
          $ref: '#/components/schemas/AddressInfo'
          description: Home address of the person, used for equipment deliveries
        package:
          $ref: '#/components/schemas/Package'
          description: >-
            Equipment package currently assigned to this person; null when no
            package is assigned
        status:
          type: string
          description: >-
            Current lifecycle status of the person in Firstbase (e.g. INVITED,
            ACTIVE, OFFBOARDING)
          enum:
            - INVITED
            - ACTIVE
            - INACTIVE
            - DELETED
            - OFFBOARDING
            - CANNOT_REACTIVATE
        cpfNumber:
          type: string
          description: Brazilian CPF tax number; null for non-Brazilian employees
          example: 87523654789
      required:
        - email
        - firstName
        - id
        - lastName
        - role
        - status
    PublicApiHttpErrors:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/PublicApiError'
      required:
        - errors
    AddressInfo:
      type: object
      properties:
        addressLine1:
          type: string
          example: 123
        addressLine2:
          type: string
          example: Suite 103
        administrativeArea:
          type: string
          description: the state or county
          example: NY
        countryCode:
          type: string
          description: ISO 3166-1 alpha-2 country code
          example: US
        locality:
          type: string
          description: the city
          example: New York City
        postalCode:
          type: string
          description: the postal code or zip code
          example: 10123
      required:
        - countryCode
    Package:
      type: object
      description: >-
        An equipment package (onboarding bundle) that can be assigned to a
        person
      properties:
        id:
          type: string
          format: uuid
          description: Unique identifier for this package
          example: 3a68a467-8733-4c8d-a942-16ed7ec33018
        name:
          type: string
          description: Display name of the package
          example: The works
        automaticOrder:
          type: boolean
          description: >-
            When true, an equipment order is placed automatically when a person
            with this package is onboarded
          example: false
        approvalRequired:
          type: boolean
          description: >-
            When true, orders from this package require manager approval before
            being processed
          example: false
        requireJustification:
          type: boolean
          description: When true, order items in this package require a justification
          example: false
        active:
          type: boolean
          description: >-
            Whether this package is currently active. Inactive packages cannot
            be used for new assignments
          example: true
        skuIds:
          type: array
          description: >-
            List of SKU IDs included in this package; null when no SKUs are
            configured
          examples:
            - 3cf416c1-1b0f-4344-9cec-ba9c9fe615c9
          items:
            type: string
            format: uuid
        assignedTo:
          $ref: '#/components/schemas/PackageAssignedToInformation'
          description: People and groups currently assigned to this package
      required:
        - active
        - approvalRequired
        - assignedTo
        - automaticOrder
        - id
        - name
        - requireJustification
    PublicApiError:
      type: object
      properties:
        detail:
          type: string
          description: Human-readable description of the error
          example: Invalid request
        source:
          type: string
          description: >-
            Entity or field path that caused the error (for example order,
            shipmentNotice, or person:email)
          example: request
      required:
        - detail
        - source
    PackageAssignedToInformation:
      type: object
      properties:
        people:
          type: array
          description: >-
            List of people assigned to this package. Each entry contains
            identifying information for a person linked to this package
            assignment.
          examples:
            - 3cf416c1-1b0f-4344-9cec-ba9c9fe615c9
          items:
            type: string
            format: uuid
  securitySchemes:
    ApiKey:
      type: apiKey
      description: Prefix the value with "ApiKey" to indicate the custom authorization type
      name: Authorization
      in: header

````