Sign in

Update a Subaccount

documented

Update a subaccount.

PUT /api/v1/subaccounts/{id}Accountsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://api.sparkpost.com/api/v1/subaccounts/{{$id}}" \
  -X PUT \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Authorization: {{SPARKPOST_API_KEY}}" \
  -H "X-MSYS-SUBACCOUNT: {{$id}}" \
  -d '{"name": "{{$name}}", "status": "{{$status}}", "ip_pool": "{{$ip_pool}}"}'
Update a Subaccount · SparkPost · OpenIntegrations