Creating an account
Workspace creates accounts atPOST /v1/accounts. The response includes the
new account and its bootstrap_role_id and bootstrap_role_crn.
Every account starts with two assignable system roles:
These roles cannot be changed or deleted and do not consume custom-role quota.
Their responses include
is_system: true.
The organization owner receives an Administrator assignment. A human account
creator also receives that assignment, and the bootstrap fields identify this
role. Neither role grants organization permissions.
For a machine creator, creation additionally creates a custom
AccountAdministrator role trusted to the creator’s immutable identity. The
machine still needs source-side iam:AssumeRole permission. This custom role
consumes quota and can be changed or removed normally.
Assigning people to account roles
In the console, open Organization → Accounts, select the account, then open Settings. The Account access card lets you Assign role to a user or group. A group assignment applies to its user members. An assignment and the role’s trust policy are separate requirements:- The assignment authorizes the human to request
iam:AssumeRolefor that role. - The role’s trust policy must accept that user’s Workspace principal CRN.
- After assumption, account requests use the role’s permissions.
An assignment contains
principal_type (user or group), principal_id,
and role_id, all resolved within the organization and target account.
Service accounts use identity policies and trust, not human role assignments.
Using an account role
Each person has one effective role per account. Direct assignments and group memberships may grant the same role through several paths. A different role is rejected with409 ACCOUNT_ROLE_CONFLICT, including when adding someone
to a group would create that conflict. Combine the required permissions in
one role, or remove the conflicting assignments before assigning a replacement.
The console automatically assumes your role when you select an account.
All people, including organization owners, use an assigned account role for
account services. There is no role selection menu.
The console keeps your personal organization session separate from the
account role session. Organization pages use your personal session;
account pages use the account’s assigned role. Changing account or organization clears
the previous role context. Expired role sessions are renewed from your personal
session, subject to current assignments and trust.
For integrations, use GET /v1/account-roles to discover a human’s assignments,
then send the target account’s assigned role CRN to IAM’s POST /v1/assume-role. Verify the
returned account_id, account_handle, and role_id before using the token.
Changing X-Account-Id does not change a token’s account authority.
Removing access and deleting accounts
Removing an assignment prevents new assumptions through that assignment. Review and revoke existing sessions when ending active access; do not treat assignment removal as a substitute for session revocation. An account must be empty before deletion. Custom roles, policies, service accounts, and active custom-role or service-account sessions count as resources, along with infrastructure. The two built-in roles and their sessions do not block deletion; deleting the account makes those sessions unusable. For automated account cleanup, keep the original organization credential. Remove resources using the account administrator role. If it is a custom bootstrap role, delete it last, then delete the account with the organization credential. Deleting a custom role also removes its sessions.Keeping owner access
Ownership itself grants no permissions. The owner has an explicit organization Administrator policy and an Administrator assignment in each active account. Permission changes that would remove this access fail with409 OWNER_ACCESS_REQUIRED, including indirect restrictions through groups or
boundaries. A restrictive temporary session still limits the owner’s requests.
Ownership transfer establishes the recipient’s required grants atomically. A
recipient with conflicting denies or a restrictive boundary cannot become the
owner until those restrictions are resolved. The previous owner’s explicit
grants remain until you revoke them separately. Transfer ownership before
removing the current owner’s required administrator access.
