File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1897,6 +1897,25 @@ export class FeedsApi {
18971897 return { ...response . body , metadata : response . metadata } ;
18981898 }
18991899
1900+ async deleteMembershipLevel ( request : {
1901+ id : string ;
1902+ } ) : Promise < StreamResponse < Response > > {
1903+ const pathParams = {
1904+ id : request ?. id ,
1905+ } ;
1906+
1907+ const response = await this . apiClient . sendRequest < StreamResponse < Response > > (
1908+ 'DELETE' ,
1909+ '/api/v2/feeds/membership_levels/{id}' ,
1910+ pathParams ,
1911+ undefined ,
1912+ ) ;
1913+
1914+ decoders . Response ?.( response . body ) ;
1915+
1916+ return { ...response . body , metadata : response . metadata } ;
1917+ }
1918+
19001919 async updateMembershipLevel (
19011920 request : UpdateMembershipLevelRequest & { id : string } ,
19021921 ) : Promise < StreamResponse < UpdateMembershipLevelResponse > > {
You can’t perform that action at this time.
0 commit comments