Globus SDK for JavaScript
    Preparing search index...

    Function updateSubscriptionId

    • Parameters

      • configuration: GCSConfiguration
      • Optionaloptions: {
            payload: {
                DATA_TYPE: "endpoint_subscription#1.0.0";
                subscription_id: null | string;
            };
        } & {
            headers?: Headers;
            query?: {
                [key: string]: | undefined
                | null
                | string
                | number
                | boolean
                | (undefined | null | string | number)[];
            };
        }
      • OptionalsdkOptions: SDKOptions

      Returns Promise<
          JSONFetchResponse<
              | {
                  code: string;
                  data?: Record<string, unknown>[];
                  DATA_TYPE: "result#1.0.0";
                  detail?: unknown;
                  has_next_page?: boolean;
                  http_response_code: number;
                  marker?: null | string;
                  message?: string;
              }
              | {
                  authorization_parameters?: null
                  | { [key: string]: unknown };
                  code: string;
                  data?: Record<string, unknown>[];
                  DATA_TYPE: "result#1.1.0";
                  detail?: unknown;
                  has_next_page?: boolean;
                  http_response_code: number;
                  marker?: null | string;
                  message?: string;
              },
          >,
      >