api/fleet - confirm ---------------------------- The confirm endpoint activates the portal user and a card. The endpoint accepts the following parameters .. list-table:: Request Parameters :widths: 25 25 50 :header-rows: 1 * - Parameter - Required - Description * - card_id - yes - Unique card identifier * - user_id - yes - Unique user identifier Sample Request =================================== .. code-block:: bash curl --location --request PUT 'https://yourinstancename.beenergised.cloud/api/fleet/v1/confirm' \ --header 'x-api-token: your_token' \ --header 'Content-Type: application/json' \ --data-raw '{ "user_id": user_id_to_activate "card_id": card_id_to_activate, }' Sample Response =================================== .. code-block:: json { "status": "success", "data": { "user_id": "activated_user_id", "card_id": "activated_card_id" } }