curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/{id}/change-pin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"new_pin": "<string>",
"old_pin": "<string>"
}
'{}Change an agent’s PIN by providing the current PIN and new PIN
curl --request POST \
--url https://olive-gateway-a6ba.onrender.com/api/v1/agents/{id}/change-pin \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"new_pin": "<string>",
"old_pin": "<string>"
}
'{}API Key for third-party integrations (WhatsApp, Smart PAY, VULT). Format: 'Bearer olive_live_xxxxxxxxxxxxx'
Agent ID
PIN changed successfully
The response is of type object.