Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Script to update CP sites using APIs

Introduction

This page explains updating CP sites using APIs.

Pre-requisites

Attributes

Description

Attributes

Description

URL

Server URL you are updating CP sites in

Username

Username to authenticate.

Password

Password of the user.

CSV File

Which should have list of CP short titles and it’s corresponding updating sites.

Example CSV file:

Script to update CP sites:

Script

 

How to run:

./updateCpSites.sh <URL> <USER> <PASSWORD> <CSV_FILE>

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com