curl --location --request PUT 'https://mock.apidog.com/m1/1388340-0-default/api/v1/users//pin' \
--header 'Content-Type: application/json' \
--data '{
"pin": "string",
"confirmPin": "string",
"allowCashClosing": true,
"allowDeletion": true
}'{
"allowCashClosing": true,
"allowDeletion": true,
"hasPin": true
}