Update a platform setting
Replaces type, sub_type, status and settings. Secrets you send are merged into the stored secrets.
apiKeyAuthorizationBasic <token>HTTP Basic authentication with an admin API key as the username and an empty password.
setting_id*stringThe ID of the platform setting.
application/json- body
A platform-wide integration: risk_and_fraud / fraud_prevention settings named cybersource or seon,
and plugins / shopify settings. Secrets are write-only: responses mask them.
name*stringtype*stringsub_type*stringstatus*string"enabled""disabled""always_enabled"settings*The settings of the integration, such as report_only and decline_transaction_if_integration_is_unavailable for fraud prevention.
secrets?The credentials of the integration, such as api_key.
The updated setting. Secrets are masked.
application/json- response
A platform-wide integration: risk_and_fraud / fraud_prevention settings named cybersource or seon,
and plugins / shopify settings. Secrets are write-only: responses mask them.
id?stringcreated?stringdate-timemodified?stringdate-timename*stringtype*stringsub_type*stringstatus*string"enabled""disabled""always_enabled"settings*The settings of the integration, such as report_only and decline_transaction_if_integration_is_unavailable for fraud prevention.
secrets?The credentials of the integration, such as api_key.
curl -X PUT 'https://api.example.com/v1/admin/platform-settings/string/' \ --user "$API_KEY:" \ -H 'Content-Type: application/json' \ -d '{ "name": "seon", "type": "risk_and_fraud", "sub_type": "fraud_prevention", "status": "enabled", "settings": {}}'{ "id": "string", "created": "2019-08-24T14:15:22Z", "modified": "2019-08-24T14:15:22Z", "name": "seon", "type": "risk_and_fraud", "sub_type": "fraud_prevention", "status": "enabled", "settings": {}, "secrets": {}}