Submit a delete task. A delete submission contains a single endpoint and a list of paths to delete.

  • Parameters

    • options: undefined | {
          payload: Omit<{
              deadline?: string;
              label?: string;
              notify_on_failed?: boolean;
              notify_on_succeeded?: boolean;
              store_base_path_info?: boolean;
              submission_id: string;
          } & {
              DATA: {
                  DATA_TYPE: string;
                  path: string;
              }[];
              DATA_TYPE: "delete";
              endpoint: string;
              ignore_missing?: boolean;
              interpret_globs?: boolean;
              local_user?: string;
              recursive?: boolean;
          }, "DATA_TYPE">;
      } & BaseServiceMethodOptions
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<DeleteResult | DeleteError>>