Skip to content

Commit adb5e75

Browse files
algolia-botkai687
andcommitted
fix(specs): add x-acl to insights endpoints (generated)
algolia/api-clients-automation#4822 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]>
1 parent 04c21a2 commit adb5e75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/client-insights/src/insightsClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,9 @@ export function createInsightsClient({
231231

232232
/**
233233
* Deletes all events related to the specified user token from events metrics and analytics. The deletion is asynchronous, and processed within 48 hours. To delete a personalization user profile, see `Delete a user profile` in the Personalization API.
234+
*
235+
* Required API Key ACLs:
236+
* - deleteObject
234237
* @param deleteUserToken - The deleteUserToken object.
235238
* @param deleteUserToken.userToken - User token for which to delete all associated events.
236239
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -256,6 +259,9 @@ export function createInsightsClient({
256259

257260
/**
258261
* Sends a list of events to the Insights API. You can include up to 1,000 events in a single request, but the request body must be smaller than 2&nbsp;MB.
262+
*
263+
* Required API Key ACLs:
264+
* - search
259265
* @param insightsEvents - The insightsEvents object.
260266
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
261267
*/

0 commit comments

Comments
 (0)