Function updateOwnerString
- updateOwnerString(
configuration: GCSConfiguration,
collection_id: string,
options:
| undefined
| {
payload: Partial<
{ DATA_TYPE: "owner_string#1.0.0"; identity_id?: string },
>;
} & {
headers?: Headers;
query?: {
[key: string]: | undefined
| null
| string
| number
| boolean
| (undefined | null | string | number)[];
};
},
sdkOptions?: 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
- collection_id: string
- options:
| undefined
| {
payload: Partial<
{ DATA_TYPE: "owner_string#1.0.0"; identity_id?: string },
>;
} & {
headers?: Headers;
query?: {
[key: string]: | undefined
| null
| string
| number
| boolean
| (undefined | null | string | number)[];
};
} 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_Collections/#putCollectionOwnerString