From 872ab29bfce1289654b283469cf133b1b7cdc3df Mon Sep 17 00:00:00 2001 From: Alphonse Bouy <32797759+alphonseb@users.noreply.github.com> Date: Fri, 26 Jan 2024 12:09:31 +0100 Subject: [PATCH] feat(specs): update query suggestions unauthorized response example (#2606) Co-authored-by: Pierre Millot --- specs/query-suggestions/common/responses/Unauthorized.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/specs/query-suggestions/common/responses/Unauthorized.yml b/specs/query-suggestions/common/responses/Unauthorized.yml index 44d37fbcd4..3179a0d118 100644 --- a/specs/query-suggestions/common/responses/Unauthorized.yml +++ b/specs/query-suggestions/common/responses/Unauthorized.yml @@ -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'}