Skip to main content
PATCH
/
v2
/
auth
/
accesses
Update Access Permissions
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
  }
}
'
{}

Update Access Permissions

PATCH request to /v2/auth/accesses

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
id
string
required
otp
string
required
permissions
object
required

Response

Success

The response is of type object.