Access management
What can I manage?
Section titled “What can I manage?”Use the Access Management API to manage accounts, permissions, and limits in a business organization:
- Disable or enable employee accounts by login.
- Change staff roles. Organization roles are
owner,admin,manager, andmember. The API cannot assignowner. - Set web search, image generation, reasoning, balance display, and payment permissions for employees or teams.
- Allow or block individual models and set daily, monthly, or overall model spending limits for employees or teams.
- Set concurrent generation limits or model parameter rules for employees, teams, and organizations.
- Change organization settings or read current settings.
Role permissions
Section titled “Role permissions”An API key uses its creator’s current role. A key whose creator is a member has no access to these methods. Only an owner or admin can create an organization key. If the creator’s role changes, the key uses the new role on the next request.
An owner can manage other owners, admins, managers, and members. An admin can manage other admins, managers, and members. When changing settings by login, the key creator’s own account is excluded. See the additional role assignment rules.
A manager can restrict access, model permissions, and limits for their own teams and the members of those teams. A manager can block access or set or lower a limit. They cannot undo restrictions imposed by the organization, raise or remove limits, or change balance visibility and payments from the organization balance. They also cannot change concurrent generation limits, model parameter rules, or organization settings. A manager can read their own teams, team members, and organization settings. Enabling or disabling accounts and changing roles returns 403 for a manager’s key. Owners and admins can manage managers as they do members.
See read team settings for how to obtain teamId. Employee methods follow their own role and visibility matrix.