Logo
Get supportSee a Demo
HomeAPI Reference
HomeAPI Reference
    • Authentication
  • API Reference
Get supportSee a Demo
API ReferenceUsers

DELETE
/users/users/:id
DELETE
/users/users/:id
1import requests
2
3url = "https://rewards-api.getkard.com/users/users/%7Bid%7D"
4
5headers = {"Authorization": "Bearer <token>"}
6
7response = requests.delete(url, headers=headers)
8
9print(response.json())
Try it
1"Successfully deleted User"
Was this page helpful?
Previous

Get Eligible Merchants

Next
Built with
Call this endpoint to delete a specified enrolled user from the rewards program and Kard's system. Users can be re-enrolled into rewards by calling the [Create User](/legacy/api/users/create-user) endpoint using the same `referringPartnerUserId` from before. Deleting a user will remove all the user fields for that specific user from Kard’s system.<br/> <b>Required scopes:</b> `user:delete`
Delete User

Call this endpoint to delete a specified enrolled user from the rewards program and Kard’s system. Users can be re-enrolled into rewards by calling the Create User endpoint using the same referringPartnerUserId from before. Deleting a user will remove all the user fields for that specific user from Kard’s system.
Required scopes: user:delete

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path Parameters

idstringRequired
Referring partner user ID from issuer that specifies user

Response

This endpoint returns a string.

Errors