Skip to content

Commit 04c3675

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 3c9dae2 commit 04c3675

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Api/InsightsClient.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ public function customPut($path, $parameters = null, $body = null, $requestOptio
270270
/**
271271
* 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.
272272
*
273+
* Required API Key ACLs:
274+
* - deleteObject
275+
*
273276
* @param string $userToken User token for which to delete all associated events. (required)
274277
* @param array $requestOptions the requestOptions to send along with the query, they will be merged with the transporter requestOptions
275278
*/
@@ -302,6 +305,9 @@ public function deleteUserToken($userToken, $requestOptions = [])
302305
/**
303306
* 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.
304307
*
308+
* Required API Key ACLs:
309+
* - search
310+
*
305311
* @param array|InsightsEvents $insightsEvents insightsEvents (required)
306312
* - $insightsEvents['events'] => (array) Click and conversion events. **All** events must be valid, otherwise the API returns an error. (required)
307313
*

0 commit comments

Comments
 (0)