Documentation

Resource Management Identity API

Version: v2

Resource Management Identity API

Version: v2

Unity Resource Management API

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.
Download OpenAPI specification:

Get the authenticated user


Returns the identity of the authenticated caller.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

HTTP response status codes for "Get the authenticated user":

Code samples for "Get the authenticated user":

Request example

curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/users/me"

Response example

{ "id": "1374446889638", "name": "Jane Doe", "email": "jane@studio.com", "isVerified": true, "username": "janedoe", "avatarUrl": "https://cdn.unity.com/avatars/1374446889638.png", "locale": "en_US", "timezone": "Europe/Copenhagen", "country": "US", "stateCode": "CA", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}

List organizations for the authenticated user


Returns a paginated list of organizations the caller belongs to, including any they reach only through a project.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Query parameters for "List organizations for the authenticated user"

limit

integer
default: 10
Maximum number of results to return (default 10).
>= 1<= 100

offset

integer
default: 0
Number of results to skip (default 0).
>= 0

search

string
Case-insensitive substring match on the name
maxLength: 255

sort

string
default: name
Sort field (default name)
enum: "name", "createdAt"

order

string
default: asc
Sort direction (default asc)
enum: "asc", "desc"

HTTP response status codes for "List organizations for the authenticated user":

Code samples for "List organizations for the authenticated user":

Request example

curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations"

Response example

{ "total": 42, "limit": 10, "offset": 0, "results": [ { "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z" } ]}

Create an organization


Creates a new organization for the authenticated user.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Request body for "Create an organization"

Media Type:
application/json
type

name

string
required
Organization name, 1 to 40 characters, after trimming. Names that contain a link are rejected.
minLength: 1maxLength: 40
example: Acme Studio

type

string
required
Organization type
enum: "Individual"
example: Individual

address

object
required
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.

country

string
required
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.
pattern: ^[A-Z]{2}$
example: US

region

string | null
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.
minLength: 2maxLength: 3
example: CA

firstName

string
required
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.
minLength: 1maxLength: 70pattern: ^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$
example: Jane

lastName

string
required
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.
minLength: 1maxLength: 70pattern: ^(?=.*[A-Za-z])[A-Za-z0-9][A-Za-z0-9 .-]*$
example: Doe

HTTP response status codes for "Create an organization":

Code samples for "Create an organization":

Request example

curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Studio", "type": "Individual", "address": { "country": "US", "region": "CA", "firstName": "Jane", "lastName": "Doe" }}' \ "https://services.api.unity.com/unity/v2/organizations"

Response example

{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}

Get an organization


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.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic

Path parameters for "Get an organization"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

HTTP response status codes for "Get an organization":

Code samples for "Get an organization":

Request example

curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"

Response example

{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}

Update an organization


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Update an organization"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

Request body for "Update an organization"

Media Type:
application/json

name

string
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.
minLength: 1maxLength: 48
example: Acme Studio

industryType

string | null
Industry the organization works in. Pass null to clear.
enum: "Gambling", "Education", "Other", "Architecture", "Aerospace", "Automotive", "Construction", "Consumer electronics", "Consumer packaged goods", "Drugs & pharmaceuticals"
example: Gaming

defaultProjectVisibility

string
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.
enum: "Unrestricted", "Restricted"
example: Unrestricted

billableUserId

string
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.
pattern: ^[1-9]\d*$
example: 5772678498965

HTTP response status codes for "Update an organization":

Code samples for "Update an organization":

Request example

curl -X PATCH \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Acme Studio", "industryType": "Gaming", "defaultProjectVisibility": "Unrestricted", "billableUserId": "5772678498965"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"

Response example

{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}

Delete an organization


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Delete an organization"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

HTTP response status codes for "Delete an organization":

Code samples for "Delete an organization":

Request example

curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}"

Response 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" } ]}

Upload an organization icon


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Upload an organization icon"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

Request body for "Upload an organization icon"

Media Type:
multipart/form-data

file

string
required
Icon image, at most 128 KB, with content type image/png, image/jpeg or image/webp
binary

HTTP response status codes for "Upload an organization icon":

Code samples for "Upload an organization icon":

Request example

curl -X PUT \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: multipart/form-data" \ -d '{"file":"string"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/icon"

Response example

{ "id": "9134567201", "name": "Acme Studio", "type": "Company", "industryType": "Gaming", "iconUrl": "https://cdn.unity.com/orgs/9134567201/icon.png", "defaultProjectVisibility": "Unrestricted", "address": { "organizationId": "1374446889638", "firstName": "Taro", "lastName": "Yamada", "email": "test@email.com", "phoneNumber": "+442071838750", "companyName": "Unity Technologies", "street": "Kaivokatu 6", "locality": "Helsinki", "postalCode": "00100", "country": "FI", "region": "string", "createdAt": "2020-07-20T18:30:51.243Z", "updatedAt": "2020-08-25T11:55:20.651Z" }, "billableUserId": "5772678498965", "createdAt": "2020-01-01T00:00:00.000Z", "updatedAt": "2026-08-01T00:00:00.000Z"}

Delete an organization icon


Removes the organization icon. Succeeds whether or not the organization currently has one, and sets
iconUrl
on the organization to null.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Delete an organization icon"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

HTTP response status codes for "Delete an organization icon":

Code samples for "Delete an organization icon":

Request example

curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/icon"

Response 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" } ]}

List groups in an organization


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.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic

Path parameters for "List groups in an organization"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

Query parameters for "List groups in an organization"

limit

integer
default: 10
Maximum number of results to return (default 10).
>= 1<= 100

offset

integer
default: 0
Number of results to skip (default 0).
>= 0

HTTP response status codes for "List groups in an organization":

Code samples for "List groups in an organization":

Request example

curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups"

Response example

{ "total": 42, "limit": 10, "offset": 0, "results": [ { "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4 } ]}

Create a group


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Create a group"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

Request body for "Create a group"

Media Type:
application/json

name

string
required
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.
minLength: 1maxLength: 255
example: Level designers

HTTP response status codes for "Create a group":

Code samples for "Create a group":

Request example

curl -X POST \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Level designers"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups"

Response example

{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}

Get a group


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.
Authorizations
Use any one of the following options.
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer
or
ServiceAccount
HTTP: ServiceAccount
To get started with authentication, visit the Service Account Authentication section.
HTTP Authorization Scheme: basic

Path parameters for "Get a group"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

groupId

string
required
ID of the group (a numeric string)
pattern: ^[1-9]\d*$

HTTP response status codes for "Get a group":

Code samples for "Get a group":

Request example

curl -X GET \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Authorization: Basic <YOUR_CREDENTIALS>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"

Response example

{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}

Rename a group


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Rename a group"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

groupId

string
required
ID of the group (a numeric string)
pattern: ^[1-9]\d*$

Request body for "Rename a group"

Media Type:
application/json

name

string
required
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.
minLength: 1maxLength: 255
example: Level designers

HTTP response status codes for "Rename a group":

Code samples for "Rename a group":

Request example

curl -X PATCH \ -H "Authorization: Bearer <YOUR_TOKEN>" \ -H "Content-Type: application/json" \ -d '{ "name": "Level designers"}' \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"

Response example

{ "id": "3574462088180", "name": "Level designers", "organizationId": "3573664583385", "memberCount": 4}

Delete a group


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.
Authorizations
UnityUser
HTTP: UnityUser
HTTP Authorization Scheme: bearer

Path parameters for "Delete a group"

organizationId

string
required
ID of the organization (a numeric string)
pattern: ^[1-9]\d*$

groupId

string
required
ID of the group (a numeric string)
pattern: ^[1-9]\d*$

HTTP response status codes for "Delete a group":

Code samples for "Delete a group":

Request example

curl -X DELETE \ -H "Authorization: Bearer <YOUR_TOKEN>" \ "https://services.api.unity.com/unity/v2/organizations/{organizationId}/groups/{groupId}"

Response 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" } ]}