---
title: ''
product: Resource Management Identity API
version: 2.0.0
latest_version: 2.0.0
status: This page documents version 2.0.0. The latest version is 2.0.0.
canonical: https://docs.unity.com/en-us/oas-unity-client-identity/2.0.0
latest_url: https://docs.unity.com/en-us/oas-unity-client-identity/2.0.0.md
last_updated: 2026-11-23
generated_at: 2026-11-24T00:23:20.318Z
locale: en-us
---

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Unity Resource Management API",
    "version": "1.0.0",
    "contact": {
      "name": "Services Foundation"
    },
    "description": "Public unity/v2 API for organizations, projects, environments, apps, and membership. Service accounts can call resource-scoped reads and environment create and delete. User access tokens work on every operation, and are required for the `/users/me` routes, the organization list, and all organization, project, and app mutations."
  },
  "servers": [
    {
      "url": "https://services.api.unity.com/unity/v2",
      "description": "Production"
    }
  ],
  "paths": {
    "/users/me": {
      "get": {
        "operationId": "getMe",
        "summary": "Get the authenticated user",
        "description": "Returns the identity of the authenticated caller.",
        "tags": [
          "users"
        ],
        "responses": {
          "200": {
            "description": "Authenticated user",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/User"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    },
    "/organizations": {
      "get": {
        "operationId": "listOrganizations",
        "summary": "List organizations for the authenticated user",
        "description": "Returns a paginated list of organizations the caller belongs to, including any they reach only through a project.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          },
          {
            "$ref": "#/components/parameters/search"
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "name",
                "createdAt"
              ],
              "default": "name"
            },
            "description": "Sort field (default name)",
            "name": "sort",
            "in": "query"
          },
          {
            "$ref": "#/components/parameters/order"
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated organization list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedOrganizations"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      },
      "post": {
        "operationId": "createOrganization",
        "summary": "Create an organization",
        "description": "Creates a new organization for the authenticated user.",
        "tags": [
          "organizations"
        ],
        "requestBody": {
          "required": true,
          "description": "Organization creation parameters",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOrganizationRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Organization created",
            "headers": {
              "Location": {
                "description": "Path of the created organization on the API host, including the /unity/v2 prefix",
                "schema": {
                  "type": "string",
                  "example": "/unity/v2/organizations/9134567201"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    },
    "/organizations/{organizationId}": {
      "get": {
        "operationId": "getOrganization",
        "summary": "Get an organization",
        "description": "Returns the details of the organization with the given ID. An organization created, updated or deleted moments before may take a moment to show the change.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "responses": {
          "200": {
            "description": "Organization",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        }
      },
      "patch": {
        "operationId": "updateOrganization",
        "summary": "Update an organization",
        "description": "Updates the provided fields on the organization; omitted fields are unchanged. Only the billable user can change `billableUserId`, and the new billable user must be an Owner of the organization. The organization type and its address can't be changed through this API. To change `iconUrl`, use PUT /organizations/{organizationId}/icon.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Fields to update (min 1)",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated organization",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      },
      "delete": {
        "operationId": "deleteOrganization",
        "summary": "Delete an organization",
        "description": "Deletes the organization. Only its billable user may delete it. It must have a billable user, and no active projects (archived projects do not count), apps, paid subscriptions, orders, or payout profiles. It must not be an Asset Store publisher, and must not be the caller's default organization.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "responses": {
          "204": {
            "description": "Organization deleted"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    },
    "/organizations/{organizationId}/icon": {
      "put": {
        "operationId": "uploadOrganizationIcon",
        "summary": "Upload an organization icon",
        "description": "Replaces the organization icon. The body carries a single `file` part of at most 128 KB, in PNG, JPEG or WebP format. Returns the organization, whose `iconUrl` points to the new icon.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The icon image",
          "content": {
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/OrganizationIconUpload"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The organization with its new icon",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Organization"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      },
      "delete": {
        "operationId": "deleteOrganizationIcon",
        "summary": "Delete an organization icon",
        "description": "Removes the organization icon. Succeeds whether or not the organization currently has one, and sets `iconUrl` on the organization to null.",
        "tags": [
          "organizations"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "responses": {
          "204": {
            "description": "Icon deleted"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    },
    "/organizations/{organizationId}/groups": {
      "get": {
        "operationId": "listGroups",
        "summary": "List groups in an organization",
        "description": "Returns a paginated list of the groups in the organization, sorted by name, ignoring letter case, then by ID. The default groups (Owners, Managers, Users and Guests) aren't listed. A group created, renamed or deleted moments before may take a moment to show in the list.",
        "tags": [
          "groups"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          },
          {
            "$ref": "#/components/parameters/limit"
          },
          {
            "$ref": "#/components/parameters/offset"
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated group list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedGroups"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        }
      },
      "post": {
        "operationId": "createGroup",
        "summary": "Create a group",
        "description": "Creates a group in the organization, with no members. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. The failure is a 409 with code 44021.",
        "tags": [
          "groups"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Group to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Group created",
            "headers": {
              "Location": {
                "description": "Path of the created group on the API host, including the /unity/v2 prefix",
                "schema": {
                  "type": "string",
                  "example": "/unity/v2/organizations/3573664583385/groups/3574462088180"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Group"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    },
    "/organizations/{organizationId}/groups/{groupId}": {
      "get": {
        "operationId": "getGroup",
        "summary": "Get a group",
        "description": "Returns the group with the given ID. The default groups (Owners, Managers, Users and Guests) can be read too, although the list omits them. A group created, renamed or deleted moments before may take a moment to show the change.",
        "tags": [
          "groups"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          },
          {
            "$ref": "#/components/parameters/groupId"
          }
        ],
        "responses": {
          "200": {
            "description": "Group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Group"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        }
      },
      "patch": {
        "operationId": "updateGroup",
        "summary": "Rename a group",
        "description": "Renames the group. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. The failure is a 409 with code 44021. The default groups (Owners, Managers, Users and Guests), and groups provisioned through SCIM, can't be renamed.",
        "tags": [
          "groups"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          },
          {
            "$ref": "#/components/parameters/groupId"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "Fields to update",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated group",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Group"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "409": {
            "$ref": "#/components/responses/Conflict"
          },
          "413": {
            "$ref": "#/components/responses/PayloadTooLarge"
          },
          "415": {
            "$ref": "#/components/responses/UnsupportedMediaType"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      },
      "delete": {
        "operationId": "deleteGroup",
        "summary": "Delete a group",
        "description": "Deletes the group. Its members leave the group and it is removed from every project it was assigned to. The default groups (Owners, Managers, Users and Guests), and groups provisioned through SCIM, can't be deleted.",
        "tags": [
          "groups"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/organizationId"
          },
          {
            "$ref": "#/components/parameters/groupId"
          }
        ],
        "responses": {
          "204": {
            "description": "Group deleted"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "422": {
            "$ref": "#/components/responses/UnprocessableEntity"
          },
          "429": {
            "$ref": "#/components/responses/TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/InternalServerError"
          },
          "503": {
            "$ref": "#/components/responses/ServiceUnavailable"
          },
          "504": {
            "$ref": "#/components/responses/GatewayTimeout"
          }
        },
        "security": [
          {
            "UnityUser": []
          }
        ]
      }
    }
  },
  "tags": [
    {
      "name": "users",
      "description": "User identity operations"
    },
    {
      "name": "organizations",
      "description": "Organization management"
    },
    {
      "name": "groups",
      "description": "Group management"
    }
  ],
  "components": {
    "responses": {
      "BadRequest": {
        "description": "The request is invalid (400). Field-level problems are listed in `details`.",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#55",
              "title": "Bad Request",
              "status": 400,
              "detail": "Validation failed for 1 field",
              "code": 55,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01",
              "details": [
                {
                  "field": "name",
                  "message": "must be 1-255 characters of letters, digits, hyphens or underscores"
                }
              ]
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Authentication is missing or invalid (401).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#51",
              "title": "Unauthorized",
              "status": 401,
              "detail": "invalid_token",
              "code": 51,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "Forbidden": {
        "description": "The caller cannot access the resource, or the resource does not exist (403). Code 56 means the caller holds none of the required permissions. Other denials use code 53.",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#56",
              "title": "Forbidden",
              "status": 403,
              "detail": "no_permissions",
              "code": 56,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "NotFound": {
        "description": "An item does not exist within a resource the caller can access, such as a group of another organization (404).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#54",
              "title": "Not Found",
              "status": 404,
              "detail": "Organization was not found",
              "code": 54,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "Conflict": {
        "description": "The request conflicts with the current state of the resource (409).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#58",
              "title": "Conflict",
              "status": 409,
              "detail": "Environment with the provided name already exists for this project",
              "code": 58,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "PayloadTooLarge": {
        "description": "The request body is too large (413).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#61",
              "title": "Payload Too Large",
              "status": 413,
              "detail": "request entity too large",
              "code": 61,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "UnsupportedMediaType": {
        "description": "The body encoding or charset is not supported (415).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#62",
              "title": "Unsupported Media Type",
              "status": 415,
              "detail": "unsupported charset \"LATIN1\"",
              "code": 62,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "UnprocessableEntity": {
        "description": "A precondition for the operation is not met (422). The `code` identifies the precondition.",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#57",
              "title": "Unprocessable Entity",
              "status": 422,
              "detail": "Cannot remove user's default organization",
              "code": 57,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "Too many requests (429). Retry after the number of seconds in `Retry-After`.",
        "headers": {
          "Retry-After": {
            "description": "Seconds until requests will be accepted again",
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#50",
              "title": "Too Many Requests",
              "status": 429,
              "detail": "rate_limited",
              "code": 50,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "InternalServerError": {
        "description": "An unexpected error occurred (500).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "about:blank",
              "title": "Internal Server Error",
              "status": 500,
              "detail": "unexpected error",
              "code": 0,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "ServiceUnavailable": {
        "description": "The service is temporarily unavailable (503). Retry the request.",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#3",
              "title": "Service Unavailable",
              "status": 503,
              "detail": "upstream unavailable",
              "code": 3,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      },
      "GatewayTimeout": {
        "description": "The request timed out (504).",
        "content": {
          "application/problem+json": {
            "schema": {
              "$ref": "#/components/schemas/Problem"
            },
            "example": {
              "type": "https://services.docs.unity.com/docs/errors/#2",
              "title": "Gateway Timeout",
              "status": 504,
              "detail": "Gateway Timeout",
              "code": 2,
              "requestId": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "UnityUser": {
        "type": "http",
        "scheme": "bearer",
        "description": "A Unity user JWT, sent as a bearer token."
      },
      "ServiceAccount": {
        "type": "http",
        "scheme": "basic",
        "description": "A Unity service account key ID and secret. Accepted on resource-scoped reads and on environment\ncreate and delete. See the\n[Service Account Authentication section](https://services.docs.unity.com/docs/service-account-auth)."
      }
    },
    "schemas": {
      "Group": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true,
            "description": "ID of the group (a numeric string)",
            "example": "3574462088180"
          },
          "name": {
            "type": "string",
            "description": "Group name",
            "example": "Level designers"
          },
          "organizationId": {
            "type": "string",
            "readOnly": true,
            "description": "ID of the organization the group belongs to (a numeric string)",
            "example": "3573664583385"
          },
          "memberCount": {
            "type": "integer",
            "readOnly": true,
            "description": "Number of users in the group",
            "example": 4
          }
        },
        "required": [
          "id",
          "name",
          "organizationId",
          "memberCount"
        ],
        "additionalProperties": false,
        "description": "A group of users in an organization."
      },
      "PaginatedGroups": {
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "description": "Total number of matching items",
            "example": 42
          },
          "limit": {
            "type": "integer",
            "description": "Limit used by the request",
            "example": 10
          },
          "offset": {
            "type": "integer",
            "description": "Offset used by the request",
            "example": 0
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Group"
            }
          }
        },
        "required": [
          "total",
          "limit",
          "offset",
          "results"
        ],
        "additionalProperties": false,
        "description": "Paginated list of groups"
      },
      "CreateGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Group name, 1 to 255 characters, after trimming. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. It can't be the name of a default group (Owners, Managers, Users and Guests) in any letter case. Names that contain a link or a control character are rejected.",
            "example": "Level designers"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Parameters for creating a group"
      },
      "UpdateGroupRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255,
            "description": "Group name, 1 to 255 characters, after trimming. Create and rename fail if another group in the organization has the same name, ignoring letter case and surrounding whitespace. It can't be the name of a default group (Owners, Managers, Users and Guests) in any letter case. Names that contain a link or a control character are rejected.",
            "example": "Level designers"
          }
        },
        "required": [
          "name"
        ],
        "additionalProperties": false,
        "description": "Fields to update on a group"
      },
      "IndustryType": {
        "type": "string",
        "enum": [
          "Gambling",
          "Education",
          "Other",
          "Architecture",
          "Aerospace",
          "Automotive",
          "Construction",
          "Consumer electronics",
          "Consumer packaged goods",
          "Drugs & pharmaceuticals",
          "Engineering",
          "Entertainment",
          "Gaming",
          "Government",
          "Industrial machinery",
          "Manufacturing",
          "Oil & gas",
          "Retail",
          "Student",
          "Telecom",
          "Transportation",
          "Games",
          "Media & Entertainment",
          "Architecture/Engineering/Construction",
          "Auto/Transportation/Manufacturing",
          "Platform Partner"
        ],
        "description": "Industry the organization works in. The values \"Games\", \"Media & Entertainment\", \"Architecture/Engineering/Construction\", \"Auto/Transportation/Manufacturing\", \"Platform Partner\" are deprecated. They are still returned for organizations that already carry them, and are still accepted on write, but new integrations should use the current values.",
        "example": "Gaming"
      },
      "Address": {
        "type": [
          "object",
          "null"
        ],
        "properties": {
          "organizationId": {
            "type": "string",
            "readOnly": true,
            "description": "ID of the organization the address belongs to (a numeric string)",
            "example": "1374446889638"
          },
          "firstName": {
            "type": [
              "string",
              "null"
            ],
            "description": "First name of the address contact",
            "example": "Taro"
          },
          "lastName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last name of the address contact",
            "example": "Yamada"
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "description": "Email of the address contact",
            "example": "test@email.com"
          },
          "phoneNumber": {
            "type": [
              "string",
              "null"
            ],
            "description": "Phone number of the address contact (country code plus area code and phone number)",
            "example": "+442071838750"
          },
          "companyName": {
            "type": [
              "string",
              "null"
            ],
            "description": "Name of the company associated with the address",
            "example": "Unity Technologies"
          },
          "street": {
            "type": [
              "string",
              "null"
            ],
            "description": "Street address",
            "example": "Kaivokatu 6"
          },
          "locality": {
            "type": [
              "string",
              "null"
            ],
            "description": "City or town name of the address",
            "example": "Helsinki"
          },
          "postalCode": {
            "type": [
              "string",
              "null"
            ],
            "description": "Post code of the address",
            "example": "00100"
          },
          "country": {
            "type": "string",
            "pattern": "^[A-Z]{2}$",
            "description": "ISO-3166 Alpha-2 country code. Some countries (AN, AQ, CU, IR, KP, SY, XP) can't be used in an organization's address. When one is requested on create, the returned address carries the creator's country instead, and their state or province where the address uses one. If the creator has no country set, the organization is created without an address. The requested country is still kept for financial purposes, and can be found in Unity Cloud.",
            "example": "FI"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 2,
            "maxLength": 3,
            "description": "Subdivision code without the country prefix, for example CA for California or ON for Ontario (ISO 3166-2 for CA and US). Null when the address has no region; MX addresses never have one, even when one was given on create."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC creation timestamp",
            "example": "2020-07-20T18:30:51.243Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC last-update timestamp",
            "example": "2020-08-25T11:55:20.651Z"
          }
        },
        "required": [
          "organizationId",
          "firstName",
          "lastName",
          "email",
          "phoneNumber",
          "companyName",
          "street",
          "locality",
          "postalCode",
          "country",
          "region",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false,
        "description": "Billing address for an organization. Null if the organization has none, and also when the caller is a guest of the organization, who cannot see its address."
      },
      "Organization": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true,
            "description": "ID of the organization (a numeric string)",
            "example": "9134567201"
          },
          "name": {
            "type": "string",
            "description": "Organization name",
            "example": "Acme Studio"
          },
          "type": {
            "type": "string",
            "enum": [
              "Individual",
              "Company"
            ],
            "description": "The type of legal entity this organization represents for billing and tax purposes. Individual for a private person; Company for a registered business entity. Set on create, where it determines which address fields are required: Individual requires firstName and lastName, Company requires companyName. It can't be changed through this API.",
            "example": "Company"
          },
          "industryType": {
            "description": "Industry the organization works in (null if not set)",
            "oneOf": [
              {
                "$ref": "#/components/schemas/IndustryType"
              },
              {
                "type": "null"
              }
            ]
          },
          "iconUrl": {
            "type": [
              "string",
              "null"
            ],
            "readOnly": true,
            "description": "URL of the organization icon (null if none)",
            "example": "https://cdn.unity.com/orgs/9134567201/icon.png"
          },
          "defaultProjectVisibility": {
            "type": "string",
            "enum": [
              "Unrestricted",
              "Restricted"
            ],
            "description": "Default visibility for newly created projects. Unrestricted projects can be accessed by all organization members except for guests. Restricted projects can only be accessed by organization Managers and Owners, and any other member explicitly added as a member to the project."
          },
          "address": {
            "$ref": "#/components/schemas/Address"
          },
          "billableUserId": {
            "type": [
              "string",
              "null"
            ],
            "description": "ID of the billable user of the organization (a numeric string). The billable user is the only member who can delete the organization.",
            "example": "5772678498965"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC creation timestamp",
            "example": "2020-01-01T00:00:00.000Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC last-update timestamp",
            "example": "2026-08-01T00:00:00.000Z"
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "industryType",
          "iconUrl",
          "defaultProjectVisibility",
          "address",
          "billableUserId",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false,
        "description": "An organization resource."
      },
      "PaginatedOrganizations": {
        "type": "object",
        "properties": {
          "total": {
            "type": "integer",
            "description": "Total number of matching items",
            "example": 42
          },
          "limit": {
            "type": "integer",
            "description": "Limit used by the request",
            "example": 10
          },
          "offset": {
            "type": "integer",
            "description": "Offset used by the request",
            "example": 0
          },
          "results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Organization"
            }
          }
        },
        "required": [
          "total",
          "limit",
          "offset",
          "results"
        ],
        "additionalProperties": false,
        "description": "Paginated list of organizations"
      },
      "IndividualAddressInput": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "pattern": "^[A-Z]{2}$",
            "description": "ISO-3166 Alpha-2 country code. Some countries (AN, AQ, CU, IR, KP, SY, XP) can't be used in an organization's address. When one is requested on create, the returned address carries the creator's country instead, and their state or province where the address uses one. If the creator has no country set, the organization is created without an address. The requested country is still kept for financial purposes, and can be found in Unity Cloud.",
            "example": "US"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 2,
            "maxLength": 3,
            "description": "ISO 3166-2 subdivision code without the country prefix, for example CA for California or ON for Ontario. Required for CA, US and MX. Forbidden for all other countries. For MX the region is not returned in `address.region`, but it is kept for financial purposes and can be found in Unity Cloud.",
            "example": "CA"
          },
          "firstName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 70,
            "pattern": "^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$",
            "description": "First name. 1 to 70 characters, after trimming. Only the letters A to Z, digits, spaces, dots and hyphens are allowed. It must start with a letter or a digit, and contain at least one letter.",
            "example": "Jane"
          },
          "lastName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 70,
            "pattern": "^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$",
            "description": "Last name. 1 to 70 characters, after trimming. Only the letters A to Z, digits, spaces, dots and hyphens are allowed. It must start with a letter or a digit, and contain at least one letter.",
            "example": "Doe"
          }
        },
        "required": [
          "country",
          "firstName",
          "lastName"
        ],
        "additionalProperties": false,
        "description": "Billing details for an organization owned by a person, set when it's created. `companyName` is rejected. The response's `address` is the organization's billing address as stored, which can differ from what was sent: a country that can't be used in an address is replaced as `country` describes, a region for MX isn't returned, the email is the creator's, and the phone number, street, locality and postal code are not set."
      },
      "CompanyAddressInput": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "pattern": "^[A-Z]{2}$",
            "description": "ISO-3166 Alpha-2 country code. Some countries (AN, AQ, CU, IR, KP, SY, XP) can't be used in an organization's address. When one is requested on create, the returned address carries the creator's country instead, and their state or province where the address uses one. If the creator has no country set, the organization is created without an address. The requested country is still kept for financial purposes, and can be found in Unity Cloud.",
            "example": "US"
          },
          "region": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 2,
            "maxLength": 3,
            "description": "ISO 3166-2 subdivision code without the country prefix, for example CA for California or ON for Ontario. Required for CA, US and MX. Forbidden for all other countries. For MX the region is not returned in `address.region`, but it is kept for financial purposes and can be found in Unity Cloud.",
            "example": "CA"
          },
          "companyName": {
            "type": "string",
            "minLength": 1,
            "maxLength": 70,
            "pattern": "^(?=.*[A-Za-z])[A-Za-z0-9 '.-]+$",
            "description": "Company name. 1 to 70 characters, after trimming. Only the letters A to Z, digits, spaces, apostrophes, dots and hyphens are allowed, and it must contain at least one letter.",
            "example": "Acme Oy"
          }
        },
        "required": [
          "country",
          "companyName"
        ],
        "additionalProperties": false,
        "description": "Billing details for an organization owned by a company, set when it's created. `firstName` and `lastName` are rejected. The response's `address` is the organization's billing address as stored, which can differ from what was sent: a country that can't be used in an address is replaced as `country` describes, a region for MX isn't returned, the email is the creator's, and the phone number, street, locality and postal code are not set. The returned first and last name come from the creator's name."
      },
      "CreateIndividualOrganizationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40,
            "description": "Organization name, 1 to 40 characters, after trimming. Names that contain a link are rejected.",
            "example": "Acme Studio"
          },
          "type": {
            "type": "string",
            "enum": [
              "Individual"
            ],
            "description": "Organization type",
            "example": "Individual"
          },
          "address": {
            "$ref": "#/components/schemas/IndividualAddressInput"
          }
        },
        "required": [
          "name",
          "type",
          "address"
        ],
        "additionalProperties": false,
        "description": "Parameters for creating an organization owned by a person"
      },
      "CreateCompanyOrganizationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 40,
            "description": "Organization name, 1 to 40 characters, after trimming. Names that contain a link are rejected.",
            "example": "Acme Studio"
          },
          "type": {
            "type": "string",
            "enum": [
              "Company"
            ],
            "description": "Organization type",
            "example": "Company"
          },
          "address": {
            "$ref": "#/components/schemas/CompanyAddressInput"
          }
        },
        "required": [
          "name",
          "type",
          "address"
        ],
        "additionalProperties": false,
        "description": "Parameters for creating an organization owned by a company"
      },
      "CreateOrganizationRequest": {
        "oneOf": [
          {
            "$ref": "#/components/schemas/CreateIndividualOrganizationRequest"
          },
          {
            "$ref": "#/components/schemas/CreateCompanyOrganizationRequest"
          }
        ],
        "discriminator": {
          "propertyName": "type",
          "mapping": {
            "Individual": "#/components/schemas/CreateIndividualOrganizationRequest",
            "Company": "#/components/schemas/CreateCompanyOrganizationRequest"
          }
        },
        "description": "Parameters for creating an organization. The `type` field selects which address fields are required."
      },
      "UpdateOrganizationRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 48,
            "description": "Organization name, after trimming. A new name is 1 to 40 characters. The organization's current name is accepted unchanged, up to 48 characters. Names that contain a link are rejected.",
            "example": "Acme Studio"
          },
          "industryType": {
            "description": "Industry the organization works in. Pass null to clear.",
            "oneOf": [
              {
                "$ref": "#/components/schemas/IndustryType"
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultProjectVisibility": {
            "type": "string",
            "enum": [
              "Unrestricted",
              "Restricted"
            ],
            "description": "Default visibility for newly created projects. Unrestricted projects can be accessed by all organization members except for guests. Restricted projects can only be accessed by organization Managers and Owners, and any other member explicitly added as a member to the project. Restricted requires a paid plan.",
            "example": "Unrestricted"
          },
          "billableUserId": {
            "type": "string",
            "pattern": "^[1-9]\\d*$",
            "description": "ID of the billable user of the organization (a numeric string). It must be an Owner of the organization. The billable user is the only member who can delete the organization, and the only one who can change this.",
            "example": "5772678498965"
          }
        },
        "additionalProperties": false,
        "description": "Fields to update on an organization. The organization type and its address can't be changed through this API.",
        "minProperties": 1
      },
      "OrganizationIconUpload": {
        "type": "object",
        "properties": {
          "file": {
            "type": "string",
            "format": "binary",
            "description": "Icon image, at most 128 KB, with content type image/png, image/jpeg or image/webp"
          }
        },
        "required": [
          "file"
        ],
        "additionalProperties": false,
        "description": "Multipart body carrying the icon image"
      },
      "User": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "readOnly": true,
            "description": "ID of the user",
            "example": "1374446889638"
          },
          "name": {
            "type": "string",
            "description": "Display name",
            "example": "Jane Doe"
          },
          "email": {
            "type": [
              "string",
              "null"
            ],
            "format": "email",
            "description": "Verified email address (null if not set or not verified)",
            "example": "jane@studio.com"
          },
          "isVerified": {
            "type": "boolean",
            "readOnly": true,
            "description": "Whether the caller's primary email is verified. An unverified account reports a null email.",
            "example": true
          },
          "username": {
            "type": [
              "string",
              "null"
            ],
            "description": "Username (null if not set)",
            "example": "janedoe"
          },
          "avatarUrl": {
            "type": [
              "string",
              "null"
            ],
            "description": "URL of the user's avatar (null if none)",
            "example": "https://cdn.unity.com/avatars/1374446889638.png"
          },
          "locale": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^[a-z]{2}_[A-Za-z]{2}$",
            "description": "Locale of the user (null if not set)",
            "example": "en_US"
          },
          "timezone": {
            "type": [
              "string",
              "null"
            ],
            "description": "Timezone of the user (null if not set)",
            "example": "Europe/Copenhagen"
          },
          "country": {
            "type": [
              "string",
              "null"
            ],
            "pattern": "^[A-Z]{2}$",
            "description": "ISO-3166 Alpha-2 country code (null if not set)",
            "example": "US"
          },
          "stateCode": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255,
            "description": "ISO 3166-2 subdivision code without the country prefix, for example CA for California (null if not set)",
            "example": "CA"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC creation timestamp",
            "example": "2020-01-01T00:00:00.000Z"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "readOnly": true,
            "description": "ISO 8601 UTC last-update timestamp",
            "example": "2026-08-01T00:00:00.000Z"
          }
        },
        "required": [
          "id",
          "name",
          "email",
          "isVerified",
          "username",
          "avatarUrl",
          "locale",
          "timezone",
          "country",
          "stateCode",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false,
        "description": "Authenticated caller's identity."
      },
      "Problem": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "format": "uri",
            "description": "Documentation link for the error code, or `about:blank` when the code has no page",
            "example": "https://services.docs.unity.com/docs/errors/#54"
          },
          "title": {
            "type": "string",
            "description": "Short human-readable summary",
            "example": "Not Found"
          },
          "status": {
            "type": "integer",
            "description": "HTTP status code",
            "example": 404
          },
          "detail": {
            "type": "string",
            "description": "Human-readable explanation of this occurrence",
            "example": "Environment is not found or the related project is archived"
          },
          "code": {
            "type": "integer",
            "description": "Machine-readable error code",
            "example": 54
          },
          "requestId": {
            "type": "string",
            "format": "uuid",
            "description": "ID of the request, used for support and tracing",
            "example": "e4c494ed-a22f-4c19-a30d-ce1ddea96d01"
          },
          "details": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "field": {
                  "type": "string",
                  "description": "The request field the message applies to",
                  "example": "name"
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable explanation",
                  "example": "must be 1-255 characters of letters, digits, hyphens or underscores"
                }
              },
              "required": [
                "field",
                "message"
              ]
            },
            "description": "Field-level validation messages. Present on 400 validation failures."
          }
        },
        "required": [
          "type",
          "title",
          "status",
          "code",
          "requestId"
        ],
        "description": "An RFC 9457 problem detail. Every error response in this API uses this one model."
      }
    },
    "parameters": {
      "organizationId": {
        "schema": {
          "type": "string",
          "pattern": "^[1-9]\\d*$",
          "example": "9134567201"
        },
        "required": true,
        "name": "organizationId",
        "in": "path",
        "description": "ID of the organization (a numeric string)"
      },
      "groupId": {
        "schema": {
          "type": "string",
          "pattern": "^[1-9]\\d*$",
          "example": "3574462088180"
        },
        "required": true,
        "name": "groupId",
        "in": "path",
        "description": "ID of the group (a numeric string)"
      },
      "limit": {
        "schema": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "default": 10
        },
        "name": "limit",
        "in": "query",
        "description": "Maximum number of results to return (default 10)."
      },
      "offset": {
        "schema": {
          "type": "integer",
          "minimum": 0,
          "default": 0
        },
        "name": "offset",
        "in": "query",
        "description": "Number of results to skip (default 0)."
      },
      "search": {
        "schema": {
          "type": "string",
          "maxLength": 255
        },
        "name": "search",
        "in": "query",
        "description": "Case-insensitive substring match on the name"
      },
      "order": {
        "schema": {
          "type": "string",
          "enum": [
            "asc",
            "desc"
          ],
          "default": "asc"
        },
        "name": "order",
        "in": "query",
        "description": "Sort direction (default asc)"
      }
    }
  },
  "security": [
    {
      "UnityUser": []
    },
    {
      "ServiceAccount": []
    }
  ]
}
```