## DeleteRoleAssignment `groups.role_assignments.delete(RoleAssignmentDeleteParams**kwargs) -> object` **post** `/gitpod.v1.GroupService/DeleteRoleAssignment` Deletes a role assignment. Use this method to: - Remove group access to resources - Revoke role-based permissions ### Examples - Delete a role assignment: Removes a role assignment by its ID. ```yaml assignmentId: "a1b2c3d4-5678-90ab-cdef-1234567890ab" ``` ### Authorization Requires admin role on the specific resource. ### Parameters - `assignment_id: Optional[str]` ### Returns - `object` ### Example ```python import os from gitpod import Gitpod client = Gitpod( bearer_token=os.environ.get("GITPOD_API_KEY"), # This is the default and can be omitted ) role_assignment = client.groups.role_assignments.delete( assignment_id="a1b2c3d4-5678-90ab-cdef-1234567890ab", ) print(role_assignment) ``` #### Response ```json {} ```