diff --git a/frontend/src/hooks/api/actions/useProjectApiTokensApi/useProjectApiTokensApi.ts b/frontend/src/hooks/api/actions/useProjectApiTokensApi/useProjectApiTokensApi.ts index 53baba7924..a6e0e6dfea 100644 --- a/frontend/src/hooks/api/actions/useProjectApiTokensApi/useProjectApiTokensApi.ts +++ b/frontend/src/hooks/api/actions/useProjectApiTokensApi/useProjectApiTokensApi.ts @@ -26,7 +26,7 @@ const useProjectApiTokensApi = () => { }; const createToken = async (newToken: IApiTokenCreate, project: string) => { - const path = `api/admin/project/${project}/api-tokens`; + const path = `api/admin/projects/${project}/api-tokens`; const req = createRequest(path, { method: 'POST', body: JSON.stringify(newToken),