Delete() [ServiceSettingManager]

Delete service setting

Description

Deletes a specific setting of a service.

Package Details

Interface

IServiceSettingManager

Syntax

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

Returns

Task<bool>

API

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

Parameters

Parameter

Description

Parameter Type

Parameter

Description

Parameter Type

serviceId

The service id associated to the service setting

path

key

The service setting key

path

Returns

200 OK

Example

const string key = "YourKey"; const int serviceId =11; await _serviceSettingManager.Delete(serviceId, key);