---
updatedAt: 2026-08-07T11:41:35.000Z
agentTools:
  projectIndex: https://developers.miro.com/llms.txt
---

# Create group

Creates a new Miro user group in the organization. <br><br> Note: The displayName must be unique within the organization. The maximum length of the displayName is 60 characters; longer values are truncated. <br><br> You can optionally provide an initial list of members. Adding members follows the same rules as the add operation in Patch group.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Miro SCIM API",
    "description": "SCIM V1 API. <br><br> This is the most recent version of the API where a SCIM <b>Group</b> corresponds to a Miro <b>user group</b>. Adding or removing members of a SCIM Group changes the membership of the Miro user group. <br><br> Note: If your organization has not yet been migrated to user group-based SCIM synchronization, a SCIM Group corresponds to a Miro team. In that case, refer to the legacy Miro SCIM API documentation.",
    "version": "1.0"
  },
  "x-settings": {
    "publish": true,
    "skip-tests": true
  },
  "tags": [
    {
      "name": "Group",
      "description": "SCIM Group resources (create, list, get, patch members, delete). A SCIM Group corresponds to a Miro user group."
    }
  ],
  "servers": [
    {
      "url": "https://miro.com/api/v1/scim"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "paths": {
    "/Groups": {
      "post": {
        "tags": [
          "Group"
        ],
        "description": "Creates a new Miro user group in the organization. <br><br> Note: The displayName must be unique within the organization. The maximum length of the displayName is 60 characters; longer values are truncated. <br><br> You can optionally provide an initial list of members. Adding members follows the same rules as the add operation in Patch group.",
        "requestBody": {
          "description": "Payload to create a new Miro user group.",
          "content": {
            "application/scim+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupResource"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupResource"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Successful Operation",
            "content": {
              "application/scim+json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResource"
                },
                "example": {
                  "schemas": [
                    "urn:ietf:params:scim:schemas:core:2.0:Group"
                  ],
                  "id": "a9e4bf9e-3f67-4a22-9a12-9a0522c88c5d",
                  "displayName": "Sales Ops",
                  "members": [
                    {
                      "value": "2819c223-7f76-453a-919d-413861904646",
                      "ref": "/Users/2819c223-7f76-453a-919d-413861904646",
                      "type": "User"
                    }
                  ],
                  "meta": {
                    "resourceType": "Group",
                    "location": "/Groups/a9e4bf9e-3f67-4a22-9a12-9a0522c88c5d"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResource"
                },
                "example": {
                  "schemas": [
                    "urn:ietf:params:scim:schemas:core:2.0:Group"
                  ],
                  "id": "a9e4bf9e-3f67-4a22-9a12-9a0522c88c5d",
                  "displayName": "Sales Ops",
                  "members": [
                    {
                      "value": "2819c223-7f76-453a-919d-413861904646",
                      "ref": "/Users/2819c223-7f76-453a-919d-413861904646",
                      "type": "User"
                    }
                  ],
                  "meta": {
                    "resourceType": "Group",
                    "location": "/Groups/a9e4bf9e-3f67-4a22-9a12-9a0522c88c5d"
                  }
                }
              }
            },
            "headers": {
              "Location": {
                "description": "URL of the created resource.",
                "schema": {
                  "type": "string",
                  "format": "uri"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/createGroup400"
          },
          "401": {
            "$ref": "#/components/responses/401"
          },
          "403": {
            "$ref": "#/components/responses/403"
          },
          "404": {
            "$ref": "#/components/responses/404"
          },
          "409": {
            "$ref": "#/components/responses/createGroup409"
          },
          "413": {
            "$ref": "#/components/responses/413"
          },
          "429": {
            "$ref": "#/components/responses/429"
          },
          "500": {
            "$ref": "#/components/responses/500"
          }
        },
        "operationId": "createScimGroup",
        "summary": "Create group",
        "x-codeSamples": [
          {
            "lang": "curl",
            "label": "Create group",
            "source": "curl -X POST 'https://api.miro.com/api/v1/scim/Groups' \\\n  -H 'Authorization: Bearer <token>' \\\n  -H 'Content-Type: application/scim+json'\n  -d '{\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"displayName\": \"Sales Ops\"\n}'"
          },
          {
            "lang": "javascript",
            "label": "Create group (fetch)",
            "source": "const res = await fetch(\n  'https://api.miro.com/api/v1/scim/Groups',\n  {\n    method: 'POST',\n    headers: {\n      'Authorization': 'Bearer <token>',\n      'Content-Type': 'application/scim+json'\n    },\n    body: JSON.stringify({\n  \"schemas\": [\n    \"urn:ietf:params:scim:schemas:core:2.0:Group\"\n  ],\n  \"displayName\": \"Sales Ops\"\n})\n  }\n);\nconst data = await res.json();\nconsole.log(data);"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "CreateGroupResource": {
        "type": "object",
        "required": [
          "displayName"
        ],
        "properties": {
          "schemas": {
            "type": "array",
            "description": "Identifies which schema(s) this resource uses. In this case, it is the SCIM core Group schema.",
            "items": {
              "type": "string",
              "enum": [
                "urn:ietf:params:scim:schemas:core:2.0:Group"
              ],
              "example": "urn:ietf:params:scim:schemas:core:2.0:Group"
            }
          },
          "displayName": {
            "type": "string",
            "description": "A human-readable name for the group (user group). Must be unique within the organization. <br><br> Maximum length: 60 characters. Longer values are truncated.",
            "example": "Sales Ops"
          },
          "members": {
            "type": "array",
            "description": "An optional list of users to add as initial members of the user group. <br><br> Adding members follows the same rules as the Patch group add members operation.",
            "items": {
              "type": "object",
              "required": [
                "value"
              ],
              "properties": {
                "value": {
                  "type": "string",
                  "description": "A server-assigned, unique identifier for the user to be added as a member.",
                  "example": "3074457365265951581"
                }
              }
            }
          }
        }
      },
      "GroupResource": {
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "description": "Identifies which schema(s) this resource uses. In this case it is the SCIM core Groups schema.",
            "items": {
              "type": "string",
              "example": "urn:ietf:params:scim:schemas:core:2.0:Group"
            }
          },
          "id": {
            "type": "string",
            "description": "A server-assigned, unique identifier for this Group (user group).",
            "example": "3074457365836251622"
          },
          "meta": {
            "type": "object",
            "description": "Metadata about the resource.",
            "properties": {
              "resourceType": {
                "type": "string",
                "description": "Type of resource.",
                "example": "Group"
              },
              "location": {
                "type": "string",
                "description": "URI of resource.",
                "example": "http://api-xochitl:9111/api/v1/scim/Groups/3074457365836251622"
              }
            }
          },
          "displayName": {
            "type": "string",
            "description": "A human readable name for the Group (user group).",
            "example": "Product"
          },
          "members": {
            "type": "array",
            "description": "A list of all members that are part of the Group (user group).",
            "items": {
              "type": "object",
              "properties": {
                "value": {
                  "type": "string",
                  "description": "A server-assigned, unique identifier for the user (member).",
                  "example": "3074457365265951581"
                },
                "type": {
                  "type": "string",
                  "description": "Type of item - in this case it is User for all members.",
                  "example": "User"
                },
                "display": {
                  "type": "string",
                  "description": "A human-readable name for the user (member), typically the full name.",
                  "example": "John Doe"
                }
              }
            }
          }
        }
      },
      "ErrorResponse": {
        "required": [
          "status"
        ],
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "description": "An array of URNs that identify the schema(s) that define the structure of this response. <br><br> In this case, it contains urn:ietf:params:scim:api:messages:2.0:Error, which indicates that this is a SCIM Error.",
            "items": {
              "type": "string",
              "example": "urn:ietf:params:scim:api:messages:2.0:Error"
            }
          },
          "status": {
            "type": "string",
            "description": "HTTP status code as string.",
            "example": 400
          },
          "scimType": {
            "type": "string",
            "description": "Property name or keyword associated with the error.",
            "example": "invalidFilter"
          },
          "detail": {
            "type": "string",
            "description": "A detailed human-readable message of the error.",
            "example": "Unexpected end of filter string"
          }
        },
        "description": "Information about the response error"
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "responses": {
      "401": {
        "description": "Invalid authentication credentials",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "403": {
        "description": "Invalid access",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "404": {
        "description": "Not Found",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "413": {
        "description": "Payload too large or contains too many items",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "429": {
        "description": "Too many requests.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "500": {
        "description": "Internal Server Error",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "createGroup400": {
        "description": "Malformed request <br><br> Conditions: <br> - If the displayName is missing or invalid, the user group cannot be created. <br> - If a member to be added does not exist or is not part of the organization, the user group cannot be created.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      },
      "createGroup409": {
        "description": "Conflict <br><br> Conditions: <br> - If a user group with the same displayName already exists in the organization, the user group cannot be created.",
        "content": {
          "application/scim+json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorResponse"
            }
          }
        }
      }
    }
  }
}
```

# Sibling pages

* [List groups](https://developers.miro.com/miro-ea/reference/listgroups.md)
* [Get group](https://developers.miro.com/miro-ea/reference/getgroup.md)
* [Patch group](https://developers.miro.com/miro-ea/reference/patchgroup.md)
* [Delete group](https://developers.miro.com/miro-ea/reference/deletescimgroup.md)