File tree Expand file tree Collapse file tree
ground_control_client/lib/src/protocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -198,6 +198,14 @@ class EndpointAdminProjects extends _i1.EndpointRef {
198198 {'cloudCapsuleId' : cloudCapsuleId, 'limit' : limit},
199199 );
200200
201+ /// Deletes a project permanently on behalf of a user.
202+ /// Executes the same deletion code path as the regular deleteProject endpoint,
203+ /// but bypasses project-level authorization.
204+ _i2.Future <_i3.Project > deleteProject ({required String cloudProjectId}) =>
205+ caller.callServerEndpoint< _i3.Project > ('adminProjects' , 'deleteProject' , {
206+ 'cloudProjectId' : cloudProjectId,
207+ });
208+
201209 /// Redeploys a capsule using its current image.
202210 /// Triggers a deploymentUpdated event to redeploy the infrastructure.
203211 _i2.Future <void > redeployCapsule (String cloudCapsuleId) =>
You can’t perform that action at this time.
0 commit comments