How to: Remove a managed BIG-IP Next instance from BIG-IP Next Central Manager

Overview

Remove a BIG-IP Next instance that you no longer want to manage from BIG-IP Next Central Manger.

When you remove a managed BIG-IP Next instance, you remove all associated objects from BIG-IP Next Central Manager and reset the BIG-IP Next instance to factory settings.

Prerequisites

  • To manage BIG-IP Next instances, you must have Administrator or Instance Manager user credentials. Users with Application Manager and Auditor credentials have read-only access to all application service information. For more information about user roles, see How to: Assign standard roles to users.

Procedure

  1. Log in to BIG-IP Next Central Manager, click the Workspace icon next to the F5 logo, and click Infrastructure.

  2. Select the checkbox next to the BIG-IP Next instances you want to remove.

  3. From Actions, select Delete. A confirmation page displays.

  4. Click Delete Instance to remove the instance.

Prerequisites

Authenticate with the BIG-IP Next Central Manager API. For details refer to How to: Authenticate with the BIG-IP Next Central Manager API.

To delete Instance use the following BIG-IP Central Manager APIs:

  1. Get Instance details by sending a GET request to /api/v1/spaces/default/instances endpoint. The instance_id value is generated in the response.

    GET https://{{bigip_next_cm_mgmt_ip}}/api/v1/spaces/default/instances?filter=address eq '{{bigip_next_mgmt_ip}}'
    
  2. Send a DELETE request to /api/v1/spaces/default/instances/{{instance_id}} endpoint modifying the value of instance_id with the ID of the instance that you want to delete. Identify the path ID from the response.

    DELETE https://{{bigip_next_cm_mgmt_ip}}/api/v1/spaces/default/instances/{{instance_id}}
    

    For the request payload, use the following example, modifying the values as required.

    {
        "save_backup": false
    }
    

    Sample Response:

    {
    "_links": {
        "self": {
        "href": "/api/v1/spaces/default/instances/discovery-tasks/43b7bd5b-5b61-4a64-8fe4-68ef8ed910f2"
        }
    },
    "path": "/api/v1/spaces/default/instances/discovery-tasks/43b7bd5b-5b61-4a64-8fe4-68ef8ed910f2"
    }
    
  3. Optional: Check the delete instance task status by sending a GET request to the {{bigip_next_cm_mgmt_ip}}{{delete_path_id}} endpoint modifying the value of delete_path_id with the path ID of the previous response.

    GET https://{{bigip_next_cm_mgmt_ip}}{{delete_path_id}}
    

    Once the status changes to Completed, the instance is deleted.