Skip to content

ultroagency/ovh-api-contact-change-batch

Repository files navigation

Change domains name OVH contact

Manage contact for domain names on OVH provider

Installation

Use PHP Composer :

composer install

Generate keys

Generate Script Keys : OVH API credentials

Create .env file

cp .env.example .env

Then change value based on your credentials

Create CSV file

Create a CSV file with ID and confirmation token received by email : id,token

Download all confirmation emails (eml or txt format) Bash command line to parse them:

cat *.eml | grep "https://www.ovh.com/manager/\#/useraccount/contacts" | cut -d"/" -f8 | sed "s/?tab=REQUESTS&token=/,/g" > tokens.csv

See tokens.csv example.

Usage

php -S localhost:8000

Got to http://localhost:8000/accept-changes.php

Custom usage

See https://api.ovh.com/console/

About

How to use OVH API for batch operations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published