Edit Compliance Settings

URL Expired

The URL for this request expired after 30 days.

Settings

Setting Type Required Default Value
EnableRiskAssessmentByDefault boolean required true
OnlyAllowAdminsToToggle boolean required true

HTTP Status Codes

``200 OK

``400 Bad Request

``401 Unauthorized

``403 Forbidden

``404 Not Found

``409 Conflict

``500 Internal Error

``502 Bad Gateway

``504 Gateway Timeout

``default Error


API Request Example

Base URL

https://api.your-wallet.blockdaemon-wallet.com/api/compliance/settings

curl --request POST \
     --url https://api.your-wallet.blockdaemon-wallet.com/api/compliance/settings \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "EnableRiskAssessmentByDefault": true,
  "OnlyAllowAdminsToToggle": true
}
'

Response Codes