diff --git a/web/utils/apis.ts b/web/utils/apis.ts index 7d9f62edd..3a16b38a3 100644 --- a/web/utils/apis.ts +++ b/web/utils/apis.ts @@ -44,10 +44,10 @@ export const UPDATE_CHAT_MESSGAE_VIZ = `${NEXT_PUBLIC_API_HOST}api/admin/chat/up export const ACCESS_TOKENS = `${API_LOCATION}accesstokens`; // Delete a single access token -export const DELETE_ACCESS_TOKEN = `${API_LOCATION}deleteaccesstoken`; +export const DELETE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/delete`; // Create a new access token -export const CREATE_ACCESS_TOKEN = `${API_LOCATION}createaccesstoken`; +export const CREATE_ACCESS_TOKEN = `${API_LOCATION}accesstokens/create`; // Get webhooks export const WEBHOOKS = `${API_LOCATION}webhooks`;