Delete a user
Deprovision a business user from the identity provider and soft-delete their Penny user record.
Required permissions: user:delete.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
user_id
The ID of the user.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Response
The deleted user record.
BusinessUser
A business user, as shown to clients through the client-facing API.
OR
CardholderUser
A cardholder user, as shown to clients through the client-facing API.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error