Organization

Get computer access policy

Changed on

Returns who may use OpenCompute and Factory-hosted managed computers in the organization, as stored in enterprise controls with defaults applied for unset values. Each policy has an org-wide enabled toggle and an allowedEmails list. While enabled is true, every member is admitted and the list is ignored. While enabled is false, only members whose sign-in email is in the list are admitted (case-insensitive); an empty list admits nobody. A service account that owns an existing computer keeps operating it either way, except that OpenCompute admits nobody, service accounts included, while it is disabled with an empty list.

get/api/v0/organization/computer-access

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

GetComputerAccess200ResponseBody required
openCompute, object required

OpenCompute access (computers on customer-managed infrastructure). Unset defaults to disabled with an empty allowlist. The OpenCompute rollout is also required.

managedComputers, object required

Factory-hosted managed computer access. Unset defaults to enabled. A compliance restriction that disables managed computers overrides these values.

Changes