FousDocs

Disconnect an account

End a connected website session so tools can no longer use it.

DELETE/v1/connections/{connection_id}

Ends the website session and keeps only the account’s identity, so it can be reconnected. Tools that needed it answer 409 auth_revoked. Needs connections:write.

Requires Authorization: Bearer $FOUS_API_KEY. Create a key.

Path parameters

  • connection_idstringrequired

Response 200

Success

  • successtruerequired
  • dataobjectrequired
    Show child attributesHide child attributes
    • status"revoked"required

Errors

Every failure is an Error: branch on error.code. The errors guide lists each code.

  • 400
  • 401WWW-Authenticate
  • 402
  • 403
  • 404
  • 408
  • 409
  • 410
  • 413
  • 422
  • 429Retry-After
  • 500
  • 502
  • 503Retry-After
  • 504