Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Delete

Description

Deletes a permission to a service.

Package Details

Interface

IServicePermissionManager

Syntax

await ServicePermissionManager.Delete(ServicePermission servicePermission);

Returns

Task

API

DELETE
/api/v1/services/{id}/permissions

Parameters

Path
id: Service id which to delete the permission

Querystring
permissionId : The permission to be deleted

Returns

200 OK

Example

var servicePermission = new ServicePermission
{
ServiceId = 11,
PermissionId = 100,
EnglishComment = "Permission name en",
FrenchComment = "Permission name fr"
};

await _servicePermissionsManager.Delete(servicePermission);

  • No labels