ZiamAddOrganizationMember
Adds a user to an organization or department node. The relationship is stored on the organization members array and synchronized downstream as an organization membership change. The operation is idempotent; repeated calls return changed=false. Optional body.roleKeys updates roles attached to this direct membership. project-admin must use a User or Group RoleBinding; project-owner must use ProjectMembership.
/api/v1/ziam/organizations/{organizationUuid}/members/{userUuid}Operation ID
ZiamAddOrganizationMemberSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonPath Parameters
organizationUuidStringRequiredOrganization or department uuid. Both compact 32-character uuid and dashed uuid are accepted.
Example: 22222222222222222222222222222222
userUuidStringRequiredUser uuid. Both compact 32-character uuid and dashed uuid are accepted; the response uses compact uuid.
Example: 11111111111111111111111111111111
Body Fields
Optional body for member relationship PUT APIs. roleKeys describes roles attached to this direct relationship. ProjectMembership can carry Project-scoped project-owner; project-admin must use a User or Group RoleBinding and is not authorized from ProjectMembership.roleKeys. Organization and group membership reject both roles. Empty or omitted body only creates the membership. Global ZIAM management roles must be assigned through RoleBinding APIs.
roleKeysListScoped role keys attached to this direct relationship. project-owner is valid only for ProjectMembership. project-admin must use a User or Group RoleBinding and is not authorized from relationship roleKeys. Send an empty array to clear relationship roles. ziam-super-admin, ziam-platform-admin, ziam-platform-viewer, and ziam-auditor are not allowed.
Example: project-owner
Responses
200 OKChange History
View all change historyChange Time
AddedRequest body fields roleKeysAddedResponse fields roleKeysDeletedResponse fields scopeType, scopeUuidView API
