diff --git a/apstra/api_iba_dashboards.go b/apstra/api_iba_dashboards.go index 7788e657..ea68c287 100644 --- a/apstra/api_iba_dashboards.go +++ b/apstra/api_iba_dashboards.go @@ -176,7 +176,7 @@ func (o *Client) updateIbaDashboard(ctx context.Context, blueprintId ObjectId, i } func (o *Client) deleteIbaDashboard(ctx context.Context, blueprintId ObjectId, id ObjectId) error { - return o.talkToApstra(ctx, &talkToApstraIn{ + return convertTtaeToAceWherePossible(o.talkToApstra(ctx, &talkToApstraIn{ method: http.MethodDelete, urlStr: fmt.Sprintf(apiUrlIbaDashboardsById, blueprintId, id), - }) + })) } diff --git a/apstra/api_iba_probes.go b/apstra/api_iba_probes.go index 734fe044..d7466cb3 100644 --- a/apstra/api_iba_probes.go +++ b/apstra/api_iba_probes.go @@ -87,8 +87,8 @@ func (o *Client) getIbaProbe(ctx context.Context, bpId ObjectId, id ObjectId) (* } func (o *Client) deleteIbaProbe(ctx context.Context, bpId ObjectId, id ObjectId) error { - return o.talkToApstra(ctx, &talkToApstraIn{ + return convertTtaeToAceWherePossible(o.talkToApstra(ctx, &talkToApstraIn{ method: http.MethodDelete, urlStr: fmt.Sprintf(apiUrlIbaProbesById, bpId, id), - }) + })) } diff --git a/apstra/api_iba_widgets.go b/apstra/api_iba_widgets.go index 0f64396e..6c1ee5f7 100644 --- a/apstra/api_iba_widgets.go +++ b/apstra/api_iba_widgets.go @@ -257,8 +257,8 @@ func (o *Client) createIbaWidget(ctx context.Context, bpId ObjectId, widget *raw } func (o *Client) deleteIbaWidget(ctx context.Context, bpId ObjectId, id ObjectId) error { - return o.talkToApstra(ctx, &talkToApstraIn{ + return convertTtaeToAceWherePossible(o.talkToApstra(ctx, &talkToApstraIn{ method: http.MethodDelete, urlStr: fmt.Sprintf(apiUrlIbaWidgetsById, bpId, id), - }) + })) }