---
title: "Add ResourceGroupBinding"
method: PUT
path: "/resourceGroups/{resource_group_id}/bindings/{resource_namespace}/{resource_id}"
tags: ["ResourceGroup"]
---

# Add ResourceGroupBinding

`PUT /resourceGroups/{resource_group_id}/bindings/{resource_namespace}/{resource_id}`

Add a ResourceGroupBinding

## Path parameters

- `resource_group_id` string, required
- `resource_namespace` 'credentials' | 'datatables', required — Namespace of the resource bound by this ResourceGroupBinding
- `resource_id` string, required

## Response `200`

The ResourceGroupBinding that was added or updated

- ResourceGroupBinding — A ResourceGroupBinding
  - `namespaced_resource_id` string — Namespaced ID of the associated resource, which includes the resource's namespace
  - `resource_id` string — Unique ID of the associated resource
  - `resource_namespace` 'credentials' | 'datatables' — Namespace of the resource bound by this ResourceGroupBinding
  - `resource_group_id` string — Unique ID of the associated ResourceGroup
  - `created_time` integer — Time at which the ResourceGroupBinding was created
  - `created_by_id` string — The ID of the user who created this ResourceGroupBinding

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `404` — ResourceGroup or resource not found
- `default` — Unknown error

---

[API](https://skmtc.net/mabl/apis/mabl-api.md) · [All operations](https://skmtc.net/mabl/apis/mabl-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mabl/mabl-api/revisions/d0fc0114da66/schema)
