# RepositoryGroupCreationRequest


[API catalog](/reference/api/) · [Docker Hub overview](/reference/api/hub/latest/) · [Product manual](https://docs.docker.com/docker-hub/) · [OpenAPI specification](/reference/api/hub/latest.yaml)

API version: 2-beta



Schema constraints and annotations:

```json
{
  "properties": {
    "group_id": {
      "description": "The ID of the organization group to grant access to",
      "example": 12345,
      "format": "int64",
      "type": "integer"
    },
    "permission": {
      "description": "The permission level to grant to the group:\n- read: Can view and pull from the repository\n- write: Can view, pull, and push to the repository\n- admin: Can view, pull, push, and manage repository settings\n",
      "enum": [
        "read",
        "write",
        "admin"
      ],
      "example": "write",
      "type": "string"
    }
  },
  "required": [
    "group_id",
    "permission"
  ],
  "type": "object"
}
```



