Delete Derived User
An existing derived user can be deleted with a DELETE
request to /users/{X-User-Identifier}
on pay-api. users
api on pay-api can only be accessible by clients, not end users (i.e. Bearer token should be of type client not a resource owner). This also deletes all data associated with that user, such as access tokens, documents, and extractions.
//delete a derived user
DELETE /users/user1 HTTP/1.1
Host: pay-api.gini.net
Authorization: BEARER 74c1e7fe-e464-451f-a6eb-8f0998c46ff6
Content-Type: application/json