Updating Supplier PIN through API

How to update the supplier's PIN through the API

Endpoint:

https://sandbox-api.cpxenterprise.com/payee/v1/pinupdate/PayeeID

Request:

PUT: https://sandbox-api.cpxenterprise.com/payee/v1/pinupdate/cc4f4c1e-6998-5826-a905-b9692334626a

{"pin":"xxxx12" }

Response:

{"Pin has been updated"}