> For the complete documentation index, see [llms.txt](https://docs.langstack.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.langstack.com/welcome/get-started/learn-langstack/introduction-to-rest-api/create-an-api/working-with-api-options.md).

# Working with API options

The options for an API are as follows:

* To copy the API, go to the API listing and click the clipboard icon.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4copyapi.png>" %}

* The API page opens. Enter a new name for the new API, update path parameters and click the \[Save] button to save it as a new API.
* If the delete icon is grey, the API cannot be deleted (as it is in use).

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4greydelapi.png>" %}

* If the delete icon is red, the API can be deleted.&#x20;
* To delete the API:
  * Click the "delete" icon.
  * To confirm the deletion of the API, enter the API name. Click the \[Delete] button (which gets activated after entering the API name).

<figure><img src="https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4reddelapi.png" alt=""><figcaption></figcaption></figure>

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4confirmdelapi.png>" %}

* To disable or enable an API, click the toggle button. A disabled API shows a gray toggle button.

{% embed url="<https://media.langstack.com/documentation/media/images/code/training_manual/chapter_4/ch4enabledisableapi.png>" %}
