Step 1: Navigate to Swagger URL
- Open your web browser.
- Enter the Swagger URL for your Time Champ Admin Portal:
https://[your-timechamp-admin-portal-address]/swagger/swagger/index.html
- Replace
[your-timechamp-admin-portal-address]
with your actual Time Champ Admin Portal address.
Step 2: Log in to Swagger
- Once on the Swagger page, log in with your credentials if prompted.
Step 3: Authorize Swagger with Super Admin Details
Go to the Auth Section:
- Locate and click on the "Auth" section in the Swagger UI.
- Find the endpoint
/api/login
.
Try It Out:
- Click on the "Try It Out" button next to
/api/login
.
- Click on the "Try It Out" button next to
Enter Admin Credentials:
- In the input fields provided, enter your Super Admin Email ID and Password.
- Admin Mail ID:
[email protected]
- Password:
your-admin-password
- Admin Mail ID:
Execute:
- After entering the credentials, click the "Execute" button.
Retrieve New Auth Token:
- Once the execution is complete, a new AuthToken will be displayed in the response section.
Step 4: Update Auth Token
Download New Token:
- Copy the new AuthToken generated in the previous step.
Remove Previous Token:
- Navigate to the section where your previous token is stored.
- Remove the old token.
Add New Token:
- Replace the old token with the newly copied AuthToken.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article