## DeleteRunnerPolicy `runners.policies.delete(PolicyDeleteParams**kwargs) -> object` **post** `/gitpod.v1.RunnerService/DeleteRunnerPolicy` Deletes a runner policy. Use this method to: - Remove access controls - Revoke permissions - Clean up policies ### Examples - Delete policy: Removes a group's access policy. ```yaml runnerId: "d2c94c27-3b76-4a42-b88c-95a85e392c68" groupId: "f53d2330-3795-4c5d-a1f3-453121af9c60" ``` ### Parameters - `group_id: Optional[str]` group_id specifies the group_id identifier - `runner_id: Optional[str]` runner_id specifies the project identifier ### 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 ) policy = client.runners.policies.delete( group_id="f53d2330-3795-4c5d-a1f3-453121af9c60", runner_id="d2c94c27-3b76-4a42-b88c-95a85e392c68", ) print(policy) ``` #### Response ```json {} ```