From 2ed84b0de17e11b99ee4675df638b69b283ccb54 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 11 Nov 2022 09:23:23 +0100 Subject: [PATCH] typo in access:servers scope it's not access:users:servers --- docs/source/reference/rest.md | 2 +- docs/source/reference/services.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/reference/rest.md b/docs/source/reference/rest.md index 36db7271..3ac0f423 100644 --- a/docs/source/reference/rest.md +++ b/docs/source/reference/rest.md @@ -193,7 +193,7 @@ r.json() The same API token can also authorize access to the [Jupyter Notebook REST API][] -provided by notebook servers managed by JupyterHub if it has the necessary `access:users:servers` scope. +provided by notebook servers managed by JupyterHub if it has the necessary `access:servers` scope. (api-pagination)= diff --git a/docs/source/reference/services.md b/docs/source/reference/services.md index 2880fa19..360ca1e3 100644 --- a/docs/source/reference/services.md +++ b/docs/source/reference/services.md @@ -249,7 +249,7 @@ which makes a request of the Hub, and returns: "name": "username", "groups": ["list", "of", "groups"], "scopes": [ - "access:users:servers!server=username/", + "access:servers!server=username/", ], } ```