---
title: "Promotes a member to Published."
method: POST
path: "/launch-groups/{launchGroupId}/actions/publish"
tags: ["Launch Groups"]
---

# Promotes a member to Published.

`POST /launch-groups/{launchGroupId}/actions/publish`

## Request

- Base URL: `https://api.acquia.com/v3`
- URL: `https://api.acquia.com/v3/launch-groups/{launchGroupId}/actions/publish`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/docs/launch-groups/:launchGroupId/actions/publish/post.ts> (a function with typed inputs; its response is checked against the schema)

Promotes the specified member to Published, moving all domains assigned to the launch group from the current Published site instance's domain routing to the new one. The switch runs asynchronously and sets `status` to `switch-in-progress` until it completes, or to `failed` if it does not; a failed switch can be retried. Rejects with a `409` if a publish switch is already in progress, if the target is not a current non-Published member, or if the switch would exceed the platform's per-site-instance domain limit. Requires the `manage launch group` permission.

## Path parameters

- `launchGroupId` string, required

## Request body

- object
  - `site_id` string, required: Identifier of the target member site to promote to Published. Must be a current non-Published member of the launch group.
  - `environment_id` string, required: Identifier of the environment the target member site instance runs in.

## Response `202`

Publish switch started

- object
  - `_links` object, required: HAL links for the resource
    - `self` LaunchGroupAPIHalLink, required: HAL link object
      - `href` union, required: The target URI of the link (can be a URI or URI template)
        - string, uri
        - string, uri-template
      - `templated` boolean: Whether the link is a URI template
      - `type` string: Hint about the media type expected when dereferencing the target resource
      - `deprecation` string: A URL to a resource that provides deprecation information
      - `name` string: A secondary key for selecting links
      - `profile` string: A URI that hints about the profile of the target resource
      - `title` string: A human-readable identifier for the link
      - `hreflang` string: The language of the target resource
  - `_embedded` object: Embedded resources (optional)
  - `message` 'Publish switch started.', required: Confirmation message that the publish switch has been started.

## Other responses

- `400`: Validation Error
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `500`: Internal Server Error

---

[API](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api.md) - [All operations](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/acquia/apis/acquia-cloud-platform-api/revisions/508f8f94456d?raw)
