Skip to content

Site Publishing Credentials

Suwat Ch edited this page Aug 2, 2018 · 2 revisions
  • Get Site Publishing Credentials
ARMClient.exe post /{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{site}/config/publishingcredentials/list?api-version=2014-04-01
  • Update Site Publishing Credentials (only work with api-version=2014-04-01)
ARMClient.exe put /{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Web/sites/{site}/config/web?api-version=2014-04-01 @payload.json

Example payload.json below

{
  "properties": {
    "publishingPassword": "your_new_password"
  }
}

NOTE: This only works with with api-version=2014-04-01. You can only change password, the site's publishing username is always $your_site_name.

Clone this wiki locally