API referenceSections

The site's .publishsettings file for Visual Studio; it holds the password, so it needs site.write

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/sites/{id}/webdeploy/publishsettings

The site's .publishsettings file for Visual Studio; it holds the password, so it needs site.write

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 The file

Content type: application/xml

string

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required