PATCH https://xquik.com/api/v1/api-keys
Stop a runaway agent’s keys in 1 request, then resume them later. Xquik pauses or resumes each
listed key that belongs to your account. It skips revoked, expired & unknown keys. It also skips
other accounts’ keys, so a retry is safe.
Free. This endpoint does not consume credits.
Headers
Body
Response
200 OK
400 Invalid input
{ "error": "invalid_input", "message": "Send ids as a list of 1 to 10000 API key IDs. Set paused to true or false." }
ids was missing, empty, or longer than 100. Or it held a value that is not a numeric ID.
paused was missing or not true or false. Xquik changes nothing.401 Unauthenticated
Missing, expired, or invalid dashboard session cookie.429 Rate limited
Too many requests. Wait for theRetry-After header before retrying.Pausing keeps each key & its settings. To stop a key for good, use
Revoke API keys instead.Related. Update API Key · List API Keys · Revoke API Keys
Response examples
- 400
{ "error": "invalid_input", "message": "Invalid input. Check the request body." } - 401
{ "error": "unauthenticated", "message": "Authentication required. Provide a valid API key or bearer token." } - 403
{ "error": "session_required", "message": "API keys & OAuth tokens cannot use this route. Sign in at dashboard.xquik.com/account instead." } - 429
{ "error": "rate_limit_exceeded", "message": "Too many requests. Try again later.", "retryAfter": 60 }