ZiamAddProjectMember
Adds a user or group to a project by creating a ProjectMembership resource. subjectType must be User or Group. The operation is idempotent; repeated calls return changed=false. Optional body.roleKeys updates Project-scoped roles such as project-owner. project-admin is global and must be granted through a User or Group RoleBinding; ProjectMembership.roleKeys does not grant project-admin.
/api/v1/ziam/projects/{projectUuid}/members/{subjectType}/{subjectUuid}Operation ID
ZiamAddProjectMemberSince
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/jsonBody Fields
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
