UNPKG

@archon-inc/sdk

Version:

Integrate easily to our government platform using this SDK. More info on https://archon.inc/sdk

10 lines 593 B
import { ARID, Resource } from "../types/policy.js"; /** * Update the metadata of a resource by its ARID. * @param arid - The ARID of the resource to update. * @param metadata - The new metadata to associate with the resource. * @param merge - If true, merge the new metadata with the existing metadata. If false, replace the existing metadata. * @returns A promise resolving to the updated resource. */ export default function updateResourceMetadata(arid: ARID, metadata: Record<string, unknown>, merge?: boolean): Promise<Resource>; //# sourceMappingURL=updateResourceMetadata.d.ts.map