From b9ee53cbf56b37453f3d05fbe80dd3342f854a8b Mon Sep 17 00:00:00 2001 From: paranarimasu <33796518+paranarimasu@users.noreply.github.com> Date: Wed, 2 Nov 2022 12:53:02 -0500 Subject: [PATCH] fix: add missing response statuses and remove obsolete token management docs (#53) --- docs/intro/authentication/index.md | 36 ++---------------------------- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/docs/intro/authentication/index.md b/docs/intro/authentication/index.md index 89123a3..ae4bbe4 100644 --- a/docs/intro/authentication/index.md +++ b/docs/intro/authentication/index.md @@ -29,37 +29,5 @@ The AnimeThemes API uses framework-default response status codes for authenticat | 200 | OK - request succeeded | DELETE, PATCH, PUT | | 201 | Created - new resource was created | POST | | 401 | Unauthorized - invalid or no authentication provided | All | - -## Managing Tokens - -API tokens are managed from the API Tokens Screen within the AnimeThemes application. - -### Creating Tokens - -Log in to AnimeThemes. The Dashboard Screen will be displayed with a Navigation Bar. - -Click the User Menu in the top-right corner of the Navigation Bar. The API Tokens Option will be displayed. - -Select the API Tokens Option. The API Tokens Screen will be displayed. - -On the API Tokens Screen, the Create API Token Form will be displayed. - -On the Create API Token Form, specify a Token Name. - -On the Create API Token Form, click the Create Button. The API Token Modal will be displayed. - -On the API Token Modal, copy and store the token. - -On the API Token Modal, click the Close Button. The Modal will be dismissed and the token will be displayed in the Manage API Tokens Form. - -### Deleting Tokens - -On the Manage API Tokens Form, click the Delete Link. The Delete API Token Modal will be displayed. - -On the Delete API Token Modal, click the Delete Button. The Delete API Token Modal will be dismissed and the API token will be removed from the Manage API Tokens Form. - -## Expiration - -API Tokens are configured to expire after **one year**. - -Expired API Tokens are automatically pruned from AnimeThemes once a day. \ No newline at end of file +| 403 | Forbidden - request is not authorized for user | All | +| 404 | Not Found - no resource was found | All | \ No newline at end of file