Updated How to use OVH domain api (markdown)

master
somanos 2023-06-12 19:24:25 +02:00
parent 8bd73dcfce
commit b6af3f33b3
1 changed files with 3 additions and 2 deletions

@ -4,9 +4,8 @@
### Option 1 ### Option 1
https://eu.api.ovh.com/createApp/ https://eu.api.ovh.com/createApp/
Then wait for acme.sh to output the validation required to create the consumer key Then wait for acme.sh to output the validation required to create the consumer key
### Option 2
## 2. Set api key and api secret. ### Option 2
https://www.ovh.com/auth/api/createToken https://www.ovh.com/auth/api/createToken
And use this settings And use this settings
* GET /auth/time * GET /auth/time
@ -18,6 +17,8 @@ And use this settings
* PUT /domain/zone/*/record/* * PUT /domain/zone/*/record/*
* DELETE /domain/zone/*/record/* * DELETE /domain/zone/*/record/*
## 2. Set api key and api secret.
``` ```
# application key # application key
export OVH_AK="your application key" export OVH_AK="your application key"