Skip to content

Commit 872ab29

Browse files
alphonsebmillotp
andauthored
feat(specs): update query suggestions unauthorized response example (#2606)
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
1 parent 73b88d4 commit 872ab29

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specs/query-suggestions/common/responses/Unauthorized.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ content:
1818
summary: Invalid credentials.
1919
description: Your application ID or API key is wrong.
2020
value: {'status': 401, 'message': 'Invalid credentials'}
21-
WrongAPIKey:
22-
summary: Admin API key required.
23-
description: Your API key is not the Admin API key for your application.
21+
MissingACL:
22+
summary: Key is missing ACL
23+
description: Your API key is missing the required ACL for this operation.
2424
value:
25-
{'status': 401, 'message': 'The admin API key is required'}
25+
{'status': 401, 'message': 'The provided API key is missing the \"editSettings\" ACL'}

0 commit comments

Comments
 (0)