---
title: "Create ResourceGroup"
method: POST
path: "/resourceGroups"
tags: ["ResourceGroup"]
---

# Create ResourceGroup

`POST /resourceGroups`

The ResourceGroup to create

## Request body

- ResourceGroup — A ResourceGroup
  - `id` string — Unique ID of the ResourceGroup
  - `short_name` string — Short name of the ResourceGroup
  - `namespaced_name` string — Fully qualified name of the ResourceGroup that includes the parent_id
  - `parent_id` string — ID of the parent to which this ResourceGroup belongs
  - `parent_namespace` 'workspaces' — Namespace of the parent to which this ResourceGroup belongs
  - `parent` string — Fully qualified parent to which this ResourceGroup belongs
  - `description` string — A short description of the ResourceGroup
  - `created_time` integer — Time at which the ResourceGroup was created
  - `created_by_id` string — The ID of the user who created this ResourceGroup
  - `last_updated_time` integer — Time at which the ResourceGroup was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this ResourceGroup

## Response `201`

The ResourceGroup that was created

- ResourceGroup — A ResourceGroup
  - `id` string — Unique ID of the ResourceGroup
  - `short_name` string — Short name of the ResourceGroup
  - `namespaced_name` string — Fully qualified name of the ResourceGroup that includes the parent_id
  - `parent_id` string — ID of the parent to which this ResourceGroup belongs
  - `parent_namespace` 'workspaces' — Namespace of the parent to which this ResourceGroup belongs
  - `parent` string — Fully qualified parent to which this ResourceGroup belongs
  - `description` string — A short description of the ResourceGroup
  - `created_time` integer — Time at which the ResourceGroup was created
  - `created_by_id` string — The ID of the user who created this ResourceGroup
  - `last_updated_time` integer — Time at which the ResourceGroup was last updated
  - `last_updated_by_id` string — The ID of the user who last updated this ResourceGroup

## Other responses

- `400` — Invalid or missing parameter
- `401` — User not authenticated
- `403` — User not authorized
- `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)
