# IPNS Manager API

## Auth Token

An Auth Token is a token used for identity verification and authorization purposes. To utilize the 4EVERLAND IPNS Manager API, you need to first create an Auth Token on the 4EVERLAND Dashboard.

You can do so by navigating to your 4EVERLAND Dashboard, selecting Gateway > Auth Token, and then clicking "Generate".

<figure><img src="/files/BK37KFPA37lTYm5VVVRM" alt=""><figcaption></figcaption></figure>

## Create IPNS Name

{% openapi src="/files/PVeJj4sRuVnXDoIq5h0T" path="/ipns/v1/names" method="post" %}
[swagger (1).json](https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2F3dUPw9ulG1gsMnfAzqJ0%2Fswagger%20\(1\).json?alt=media\&token=8b882b41-06dc-460f-8224-86956a82a8de)
{% endopenapi %}

## List IPNS Names

{% openapi src="/files/PVeJj4sRuVnXDoIq5h0T" path="/ipns/v1/names" method="get" %}
[swagger (1).json](https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2F3dUPw9ulG1gsMnfAzqJ0%2Fswagger%20\(1\).json?alt=media\&token=8b882b41-06dc-460f-8224-86956a82a8de)
{% endopenapi %}

{% hint style="info" %}
The time parameter corresponding to `lifetime` is the maximum period for which the node in the network will keep the ipfs path, in fact the IPNS corresponding to the `ipfs path` will be published every few hours to achieve a state of preservation.
{% endhint %}

## Delete IPNS

{% openapi src="/files/PVeJj4sRuVnXDoIq5h0T" path="/ipns/v1/names/{name}" method="delete" %}
[swagger (1).json](https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2F3dUPw9ulG1gsMnfAzqJ0%2Fswagger%20\(1\).json?alt=media\&token=8b882b41-06dc-460f-8224-86956a82a8de)
{% endopenapi %}

## Publish IPNS name

{% openapi src="/files/PVeJj4sRuVnXDoIq5h0T" path="/ipns/v1/names/{name}" method="post" %}
[swagger (1).json](https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2F3dUPw9ulG1gsMnfAzqJ0%2Fswagger%20\(1\).json?alt=media\&token=8b882b41-06dc-460f-8224-86956a82a8de)
{% endopenapi %}

## Retrieve IPNS Name

{% openapi src="/files/PVeJj4sRuVnXDoIq5h0T" path="/ipns/v1/names/{name}" method="get" %}
[swagger (1).json](https://4107147272-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEVHC4TEQKrh3Bfvq5dDi%2Fuploads%2F3dUPw9ulG1gsMnfAzqJ0%2Fswagger%20\(1\).json?alt=media\&token=8b882b41-06dc-460f-8224-86956a82a8de)
{% endopenapi %}

{% hint style="info" %}
If you have any questions, please join our [Discord server](https://discord.com/invite/Cun2VpsdjF), or send us an email at <contact@4everland.org>.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.4everland.org/gateways/ipns-manager/ipns-manager-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
