For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to rotate or revoke an API token

This guide shows you how to replace an API token without downtime, and how to delete a token you no longer trust.

Before you start

  • You have the Super admin role.

Rotate a token

Guestway has no button to rotate a token. You replace it with a new token.

1

Create a new token

Create a token with the same permissions as the old one. See How to create an API access token.

2

Update your integration

Put the new token in your integration.

3

Check that it works

Make sure the requests succeed. On the API Access tab, Last Used of the new token shows when it was used.

4

Delete the old token

Delete the old token as described below.

Revoke a token

1

Find the token

Go to Settings → Organization → API Access, tab API Access.

2

Delete the token

Click the trash icon on the token, then Delete. In the table view, click Delete Access Token, then Confirm.

Change the permissions instead

1

Edit the token

If the token only needs other permissions, keep it. Click the token, click the pencil on Information, change the Permissions and save with the check icon.