Skip to docs content
Browse and search
On this page

Change Ultra Speed accounts

Turn Ultra Speed on or off for accounts, each by handle.

POST/api/ultra/accounts

Authorization

  • AuthorizationstringheaderrequiredBearer authentication with your TweetStream API key: Bearer <key>.

Headers

  • Idempotency-KeystringheaderrequiredRequired. Generate one key per intended purchase or change and reuse it on retries; the same key returns the same result.

Body

  • changesobject[]requiredan array of at most 100 item(s)
    • enabledbooleanrequired
    • handlestringrequireda string matching the pattern ^@?[A-Za-z0-9_]{1,15}$
  • subscriptionIdstringrequireda string at most 128 character(s) long

Response fields

  • accountLimitintegerrequiredan integer
  • accountsobject[]required
    • handlestringrequireda string matching the pattern ^@?[A-Za-z0-9_]{1,15}$
    • idstringrequireda string matching the pattern ^[1-9][0-9]{0,19}$
  • subscriptionIdstringrequired
  • resultsobject[]required
    • enabledbooleanrequired
    • handlestringrequireda string matching the pattern ^@?[A-Za-z0-9_]{1,15}$
    • messagestringoptionala string at most 200 character(s) long
    • outcomeenum<string>required

Responses

  • 200Success
  • 400Invalid request, wrong code, or the Terms were not accepted
  • 401Missing or invalid API key, or the setup proof is missing or expired
  • 404No such checkout or link, or the account has no entitlement for this product
  • 409Idempotency, checkout, offer or trial conflict
  • 429Rate limit or activation budget reached; retry after retryAfterSeconds
  • 503Temporarily unavailable; retry later