Skip to main content

IonDIDProvider.removeService() method

Removes a service from a DID Document

Signature:

removeService({ identifier, id, options }: {
identifier: IIdentifier;
id: string;
options?: IUpdateOpts;
}, context: IContext): Promise<any>;

Parameters

ParameterTypeDescription
{ identifier, id, options }{ identifier: IIdentifier; id: string; options?: IUpdateOpts; }
contextIContext

Returns:

Promise<any>

identifier provider specific response. Can be txHash, etc,