Skip to content

Commit

Permalink
feat(specs): update query suggestions unauthorized response example (#…
Browse files Browse the repository at this point in the history
…2606)

Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
alphonseb and millotp authored Jan 26, 2024
1 parent 73b88d4 commit 872ab29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specs/query-suggestions/common/responses/Unauthorized.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ content:
summary: Invalid credentials.
description: Your application ID or API key is wrong.
value: {'status': 401, 'message': 'Invalid credentials'}
WrongAPIKey:
summary: Admin API key required.
description: Your API key is not the Admin API key for your application.
MissingACL:
summary: Key is missing ACL
description: Your API key is missing the required ACL for this operation.
value:
{'status': 401, 'message': 'The admin API key is required'}
{'status': 401, 'message': 'The provided API key is missing the \"editSettings\" ACL'}

0 comments on commit 872ab29

Please sign in to comment.