Function updateSubscriptionId
- updateSubscriptionId(configuration, options?, sdkOptions?): 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;
}>> Parameters
- configuration: GCSConfiguration
Optional
options: {
payload: {
DATA_TYPE: "endpoint_subscription#1.0.0";
subscription_id: null | string;
};
} & {
headers?: Headers;
query?: {
[key: string]:
| string
| number
| boolean
| (
| string
| number
| null
| undefined)[]
| null
| undefined;
};
}Optional
sdkOptions: 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;
}>>
See
https://docs.globus.org/globus-connect-server/v5.4/api/openapi_Endpoint/#putEndpointSubscriptionId