diff --git a/docs/authentication/operations.mdx b/docs/authentication/operations.mdx index e2b11beda9..cd79405034 100644 --- a/docs/authentication/operations.mdx +++ b/docs/authentication/operations.mdx @@ -194,7 +194,7 @@ If successful, this operation will automatically renew the user's HTTP-only cook **Example REST API token refresh**: ```js -const res = await fetch('http://localhost:3000/api/[collection-slug]/refresh', { +const res = await fetch('http://localhost:3000/api/[collection-slug]/refresh-token', { method: 'POST', headers: { 'Content-Type': 'application/json',