---
title: "POST /api/deployments/{deployment_pk}/groups/"
method: POST
path: "/api/deployments/{deployment_pk}/groups/"
tags: ["deployments"]
---

# POST /api/deployments/{deployment_pk}/groups/

`POST /api/deployments/{deployment_pk}/groups/`

Grant a group permission to a deployment so its members receive the deployment.

## Path parameters

- `deployment_pk` string, required

## Request body

- DeploymentPermission
  - `id` string, uuid
  - `group_id` string, uuid, required
  - `group_name` string
  - `created_at` string, date-time

## Response `201`

---

[API](https://skmtc.dev/pixiebrix/apis/pixiebrix-api.md) · [All operations](https://skmtc.dev/pixiebrix/apis/pixiebrix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pixiebrix/pixiebrix-api/revisions/941ab9eb01d6/schema)
