Skip to content

Commit e902bc7

Browse files
author
Florin Stan
committed
Merge branch '867-compliance-expose-deletealllistentries-method' into 'master'
Resolve "compliance - expose DeleteAllListEntries method" Closes #867 See merge request tcnpublic/api!1011
2 parents 7f90b7d + 15038ab commit e902bc7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

api/v0alpha/compliance.proto

+18
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,18 @@ service Compliance {
213213
};
214214
}
215215

216+
rpc DeleteAllListEntries(DeleteAllListEntriesRequest) returns (DeleteAllListEntriesResponse) {
217+
option (google.api.http).post = "/api/v0alpha/compliance/deletealllistentries";
218+
option (google.api.http).body = "*";
219+
option (annotations.authz) = {
220+
sets: [
221+
{
222+
permissions: [PERMISSION_COMPLIANCE]
223+
}
224+
]
225+
};
226+
}
227+
216228
rpc GetScrubList(GetScrubListReq) returns (ScrubListRes) {
217229
option (google.api.http).post = "/api/v0alpha/compliance/getScrublist";
218230
option (google.api.http).body = "*";
@@ -1794,3 +1806,9 @@ message ScrubListDownloadRequest {
17941806
message ConsentListDownloadRequest {
17951807
string consent_profile_id = 4;
17961808
}
1809+
1810+
message DeleteAllListEntriesRequest {
1811+
string list_id = 2;
1812+
}
1813+
1814+
message DeleteAllListEntriesResponse {}

0 commit comments

Comments
 (0)