curl --request PATCH \
--url https://api.avenia.io:8443/v2/v2/auth/accesses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"id": "<string>",
"otp": "<string>",
"permissions": {
"payIn": true,
"payOut": true,
"convert": true,
"onChain": true,
"viewOnly": true
}
}
'