Updated dnsapi (markdown)

Sergey Ponomarev 2023-10-08 12:12:05 +03:00
parent 6aac726ae5
commit f83ed5bdda
1 changed files with 4 additions and 2 deletions

@ -724,13 +724,15 @@ The `Dynu_ClientId` and `Dynu_Secret` will be saved in `~/.acme.sh/account.conf`
## 25. Use DNSimple API ## 25. Use DNSimple API
First you need to login to your DNSimple account and generate a new oauth token. First you need to login to your [DNSimple.com](https://dnsimple.com) account and generate a new oauth token.
`https://dnsimple.com/a/{your account id}/account/automation` `https://dnsimple.com/a/{your account id}/account/automation`
Note that this is an _account_ token and not a user token. **Note:** This is an _account_ token and not a user token.
The account token is needed to infer the `account_id` used in requests. The account token is needed to infer the `account_id` used in requests.
A user token will not be able to determine the correct account to use. A user token will not be able to determine the correct account to use.
You may check tokens at https://dnsimple.com/a/<your account id>/account/access_tokens
```sh ```sh
export DNSimple_OAUTH_TOKEN="<token>" export DNSimple_OAUTH_TOKEN="<token>"