Globus SDK for JavaScript
    Preparing search index...
    • Parameters

      • task_id: string
      • Optionaloptions: { payload: Record<string, string>; query?: undefined } & {
            headers?: Headers;
            query?: {
                [key: string]:
                    | undefined
                    | null
                    | string
                    | number
                    | boolean
                    | (undefined | null | string | number)[];
            };
        }
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              {
                  code: "Updated";
                  DATA_TYPE: "result";
                  message: string;
                  request_id: string;
                  resource: `/task/${string}/cancel`;
              },
          >,
      >