Skip to content

generateSecuredApiKey are not updated. #1556

@frmsaul

Description

@frmsaul

Description

This doc isn't updated

https://www.algolia.com/doc/api-reference/api-methods/generate-secured-api-key/?client=javascript#examples

Code has changed and now it breaks:

generateSecuredApiKey: ({ parentApiKey, restrictions = {} }: GenerateSecuredApiKeyOptions): string => {

Would really appreciate it if you guys have examples of this working. I'm struggling with it and can't get it to actually use the filters.

Client

Search

Version

7

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions