Update deployment group
PATCH/accounts/{account_id}/devices/deployment-groups/{group_id}
Updates a deployment group. Returns 409 if any newly added policy IDs already belong to another deployment group. This endpoint is in Beta.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
Body ParametersJSON
Update deployment group
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/devices/deployment-groups/$GROUP_ID \
-X PATCH \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-d '{
"name": "Engineering Ring 0"
}'{
"errors": [
{
"code": 0,
"message": "message"
}
],
"messages": [
{
"code": 0,
"message": "message"
}
],
"result": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2026-02-14T13:17:00.123456789Z",
"name": "Engineering Ring 0",
"updated_at": "2026-02-14T13:17:00.123456789Z",
"version_config": [
{
"target_environment": "windows",
"version": "2026.5.234.0"
}
],
"policy_ids": [
"policy-uuid-1",
"policy-uuid-2"
]
},
"success": true
}Returns Examples
{
"errors": [
{
"code": 0,
"message": "message"
}
],
"messages": [
{
"code": 0,
"message": "message"
}
],
"result": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2026-02-14T13:17:00.123456789Z",
"name": "Engineering Ring 0",
"updated_at": "2026-02-14T13:17:00.123456789Z",
"version_config": [
{
"target_environment": "windows",
"version": "2026.5.234.0"
}
],
"policy_ids": [
"policy-uuid-1",
"policy-uuid-2"
]
},
"success": true
}