Delete a user token for your own app connector
If a user is no longer allowed to use the app connector, delete the tokens for that user.
A user token is always valid for the combination of an app connector, user and device. If a user can access an app connector using different devices, then he or she has a token for each device for the app connector. You can delete all tokens if the user no longer should have access. If you only want to block a specific device, only delete the corresponding token.
To view the endpoints, see Endpoints for Profit Connectors (SOAP/XML and REST/JSON).
Contents |
Manually delete a token in Profit
- Go to: General / Management / App connector.
- Open the properties of the app connector.
- Go to the tab: User tokens.
- Delete a token if the user is no longer allowed to have access to the app using the device in question.
If a user should no longer have any access to Profit at all, block the user in General / Management / Authorisation tool.
- Click on: Finish.
Test the web service
Note:
This method only works with a local installation, not on AFAS Online. Run this call on the Profit application server.
- Start Internet Explorer on the Profit application server.
- Use a URL from the table.
- Click on: 'DeleteToken'.
- Enter the token to be deleted.
Enter the entire token, including the tags, as in the example below:
<token><version>1</version><data>58A1C697C5F3476F838199C0412F625C4F2C46E4CEA6735454FDBB9EEBEBD48</data></token>
- Click on: 'Invoke'.
SOAP call
Field:
- Token: The GUID of the token you want to delete.
Enter the entire token, including the tags, as in the example below:
<token><version>1</version><data>58A1C697C5F3476F838199C0412F625C4F2C46E4CEA6735454FDBB9EEBEBD48</data></token>
Directly to |