Delete() [ServicePreferenceManager]

Delete service preference

Description

Deletes a specific preference of a service.

Package Details

Interface

IServicePreferenceManager

Syntax

await serviceSettingManager.Delete(int serviceId, string key);

Returns

Task<bool>

API

DELETE
/api/v1/service-preference/{serviceId}/{key}

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

serviceId

This of the service which they key needs to be removed

path

key

The service setting key

path

Returns

200 OK

Example

const string key = "Your Key"; const int serviceId = 0; var serviceSetting = await _serviceSettingManager.Delete(serviceId, key);