Step 5: Delete a User
While it’s great that you can add and edit Users via the API, there may be times when you need to remove a User. For example, if someone is no longer associated with your business, you probably don’t want them to be able to edit or view your businesses’ data. You can remove the users’ access with the Users: Delete
endpoint:
DELETE https://api.yextapis.com/v2/accounts/{accountId}/users/{userId}?v=YYYYMMDD&api_key=API_KEY
Warning
This action is not reversible, so use with caution. This request will return a 200 response with an empty response body.
<% elem.innerText %>