Savings Analysis Consent
curl --request POST \
  --url https://api.rampartcorporation.com/v2/sac \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-token: <x-account-token>' \
  --data '{
  "autoOptIn": true
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <API_KEY>.

Headers

x-account-token
string
required

Account token for authentication

Body

application/json

Response

200 - application/json

Successfully updated SAC settings

The response is of type object.