Request: POST /gamification/points/withdraw
Permissions to Run the Request
Account Owner, Account Administrators, Department Administrators, Publishers, or custom roles.
Department Administrators, and users with a custom role can deduct points only from users belonging to departments they manage and their sub-departments.
|X-Auth-Account-Url (required)||The base URL of the account, e.g.|
|X-Auth-Email (required)||The login of Account Owner, Account Administrator, Department Administrator, or a user with a custom role able to edit users.|
The password of Account Owner, Account Administrator, Department Administrator, or a user with a custom role able to edit users.
|user_id (required)||The ID of the user whose points you want to deduct.|
|amount (required)||The amount of points to be deducted.|
|reason (required)||The reason for deducting the points.|
|200||Successful operation||The points are successfully deducted.|
|400||Bad Request||A request error.|
|401||Unauthorized||An authorization error.|
|403||Permission denied||The user doesn't have enough permissions to fulfill the request.|