Is there a tool to do a bulk delete for senders on an account?
Tuesday, November 5, 2024 at 09:56amHi,
Is there a tool to do a bulk delete for senders on an account? Let's say there are over 400 senders, I can run a Delete API call via Postman but this would delete one sender at a time i.e. it will need to be executed over 400 times to delete over 400 senders, therefore, is there a better way to do this? https://sandbox.esignlive.com/api/account/senders/{SenderID}
Please advise.
Regards,
Rajiv
Reply to: Is there a tool to do a bulk delete for senders on an account?
Friday, November 22, 2024 at 11:55amHi OneSpan,
Just following up, is there any such tool in place?
Thanks,
Rajiv
Reply to: Is there a tool to do a bulk delete for senders on an account?
Monday, December 9, 2024 at 04:22pmHello Rajiv,
Before deleting a sender , please ensure all the transactions, templates and layouts are deleted for the sender.
The below steps can be performed using the Admin API Key to delete senders invited under the account whose respective Admin API Key is being used.
Call: POST {environment URL}/a/api/batch
Headers:
Content-Type: multipart/mixed
Authorization: Basic API_Key
Payload :
--batch
Content-Type: application/json
DELETE /account/senders/senderID
--batch
Content-Type: application/json
DELETE /account/senders/senderID
--batch--
Content-Type: application/json
DELETE /account/senders/senderID
SenderID can be retrieved using the API call documented : https://docs.onespan.com/v1/docs/managing-senders#rest-api:~:text=Copy-,Retrieving%20Users,-You%20can%20also
Please let me know if you have any questions for me.
Thank you
Reply to: Is there a tool to do a bulk delete for senders on an account?
Tuesday, December 10, 2024 at 08:11amHi Sukhman,
Thank you for the info! But, can you please attach a sample payload file containing the above batch information mentioned above? We would like to use the sample payload file as a template to execute such adhoc requests.
Thank you & Regards,
Rajiv
Reply to: Is there a tool to do a bulk delete for senders on an account?
Wednesday, December 18, 2024 at 03:38pmHello Rajiv,
Here is the Payload you will be using:
--batch
Content-Type: application/json
DELETE /account/senders/senderID
--batch
Content-Type: application/json
DELETE /account/senders/senderID
--batch--
Content-Type: application/json
DELETE /account/senders/senderID
Headers:
Content-Type: multipart/mixed
Authorization: Basic API_Key
Thank you