> ## Documentation Index
> Fetch the complete documentation index at: https://docs.raul.ugps.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable or disable multiple SIM cards

> Enable or disable multiple SIM cards in bulk through the Emnify API.

    This endpoint processes multiple SIMs with rate limiting and batch processing
    to avoid API throttling.

    **Notes:**
    - Maximum 100 SIMs per request
    - Processing is done in batches of 5 with 1-second delays
    - Individual SIM failures won't stop the entire operation
    - Check the results array for per-SIM status



## OpenAPI

````yaml /generated/specs/diagnostics.json post /api/v1/sim/status/bulk
openapi: 3.0.0
info:
  title: Raul API - Diagnostico
  description: Health, consumo, conectividad, SIMs, webhooks fallidos y estados tecnicos.
  version: 2.0.0
  contact: {}
servers:
  - url: https://api.raul.ugps.io
    description: Production
security: []
tags: []
paths:
  /api/v1/sim/status/bulk:
    post:
      tags:
        - SIM Management
      summary: Enable or disable multiple SIM cards
      description: |-
        Enable or disable multiple SIM cards in bulk through the Emnify API.

            This endpoint processes multiple SIMs with rate limiting and batch processing
            to avoid API throttling.

            **Notes:**
            - Maximum 100 SIMs per request
            - Processing is done in batches of 5 with 1-second delays
            - Individual SIM failures won't stop the entire operation
            - Check the results array for per-SIM status
      operationId: SimManagementController_changeSimStatusBulk
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BulkSimStatusRequestDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulkSimStatusResponseDto'
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmnifyErrorDto'
        '500':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmnifyErrorDto'
      security:
        - bearerAuth: []
components:
  schemas:
    BulkSimStatusRequestDto:
      type: object
      properties:
        phone_numbers:
          description: List of phone numbers (MSISDN) to modify (max 100)
          example:
            - '423663922670587'
            - '423663922670588'
          type: array
          items:
            type: string
        action:
          type: string
          description: Action to perform on all SIMs
          enum:
            - enable
            - disable
          example: enable
      required:
        - phone_numbers
        - action
    BulkSimStatusResponseDto:
      type: object
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/SimStatusResultDto'
        total_count:
          type: number
        successful_count:
          type: number
        failed_count:
          type: number
      required:
        - results
        - total_count
        - successful_count
        - failed_count
    EmnifyErrorDto:
      type: object
      properties:
        error:
          type: string
        message:
          type: string
        details:
          type: string
      required:
        - error
        - message
    SimStatusResultDto:
      type: object
      properties:
        success:
          type: boolean
        phone_number:
          type: string
        endpoint_id:
          type: object
        sim_id:
          type: object
        new_status:
          type: object
        message:
          type: string
      required:
        - success
        - phone_number
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Bearer token authentication

````