updateOrganizationPermissions()
Home > @gooddata/sdk-backend-spi > IOrganizationPermissionService > updateOrganizationPermissions
IOrganizationPermissionService.updateOrganizationPermissions() method
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Update organization permission for the user or user group.
Signature:
updateOrganizationPermissions(permissionAssignments: IOrganizationPermissionAssignment[]): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
permissionAssignments | IOrganizationPermissionAssignment[] | new sets of permission assignments to the organization. Set permissions property for assignee to an empty array to remove the user's permissions. |
Returns:
Promise<void>
promise