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

# Update client status

> Update client status.

<Warning>
  **Deprecated:** This is a **v1** endpoint and is deprecated. Please use the
  [v2 API](/getting-started/introduction) instead. v1 endpoints will be removed
  in a future release.
</Warning>

<Info>Replace `{your-subdomain}` with your workspace's subdomain. <br /> Learn how to find your subdomain in [Workspace subdomain](/getting-started/workspace-subdomain).</Info>


## OpenAPI

````yaml bundled-v1/clients.yaml POST /clients/update_status
openapi: 3.0.3
info:
  title: NeetoInvoice APIs
  version: 1.0.0
servers:
  - description: NeetoInvoice APIs
    url: https://{your-subdomain}.neetoinvoice.com/api/external/v1
    variables:
      your-subdomain:
        default: spinkart
        description: >-
          Replace **spinkart** with your [workspace's
          subdomain](/getting-started/workspace-subdomain).
security: []
paths:
  /clients/update_status:
    post:
      tags:
        - Clients
      summary: Update client status
      description: Update client status.
      parameters:
        - $ref: '#/components/parameters/api_key_header'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/client_status_update_request'
      responses:
        '204':
          description: OK - Request succeeded
components:
  parameters:
    api_key_header:
      in: header
      name: X-Api-Key
      description: >-
        Use the X-Api-Key header to provide your workspace API key. Refer to
        [Authentication](/getting-started/authentication) for more information.
      required: true
      schema:
        type: string
        default: your-api-key
  schemas:
    client_status_update_request:
      type: object
      properties:
        client_ids:
          type: array
          description: >-
            Array of client IDs to update. Refer to [Getting the Client
            ID](/getting-started/getting-client-id) section for detailed
            instructions.
          items:
            type: string
            format: uuid
        status:
          type: string
          enum:
            - active
            - archived
          description: New status for the client.

````