Function did::pallet::dispatchables::remove_service_endpoint
source · pub fn remove_service_endpoint<T: Config>(service_id: ServiceEndpointId<T>)
Expand description
Remove the service with the provided ID from the DID.
The dispatch origin must be a DID origin proxied via the
submit_did_call
extrinsic.
Emits DidUpdated
.
Weight: O(1)
- Reads: [Origin Account], ServiceEndpoints, DidEndpointsCount
- Writes: Did, ServiceEndpoints, DidEndpointsCount
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::remove_service_endpoint
.