---
title: "Gets the publishing profile for web app"
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml"
tags: ["Sites"]
---

# Gets the publishing profile for web app

`POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/publishxml`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

## Path parameters

- `resourceGroupName` string, required
- `name` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- CsmPublishingProfileOptions: Publishing options for requested profile
  - `format` string: Name of the format. Valid values are: FileZilla3 WebDeploy -- default Ftp

## Response `200`

OK

- string, binary

---

[API](https://skmtc.dev/azure/apis/website-management-client.md) - [All operations](https://skmtc.dev/azure/apis/website-management-client/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/website-management-client/revisions/e6d8fbd68044?raw)
