---
title: Updating a configured API
description: After activation, to update an API JSON definition in real time:
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_updating_configured_api
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_updating_configured_api.html
revdate: May 6, 2024
section_ids:
  about-this-task: About this task
  steps: Steps
  result: Result:
---

# Updating a configured API

## About this task

After activation, to update an API JSON definition in real time:

## Steps

1. Edit the API JSON file located in the `/config/api` directory and make the desired changes.

2. Save the edited API JSON file and run the following CLI command:

   ```
   /opt/pingidentity/ase/bin/cli.sh –u admin -p admin update_api  <api_name>
   ```

   ### Result:

   ```
   /opt/pingidentity/ase/bin/cli.sh –u admin -p admin update_api shop
   api shop updated successfully
   ```
