Disconnect the app
POST/app/disconnect
An app with an OAuth token ends its own access to the pro. The developer receives app.uninstalled.
Responses
- 204
- default
Disconnected.
Response Headers
X-Request-Id
The id of this request. Quote it when you contact support.
Hometown-Version
The API version that answered: the one the request named, or the version the account is pinned to.
RateLimit-Policy
The per-minute limit of the account, as limit;w=60.
RateLimit
Requests left in the current minute: limit, remaining and reset in seconds.
Every error is a problem details body; code says which.
| HTTP | Code | When |
|---|---|---|
| 400 | invalid_request | The request is malformed. |
| 401 | api_key_missing | The request has no API key. |
| 401 | api_key_invalid | The key does not match any Hometown key. |
| 401 | api_key_revoked | The key was revoked and no longer works. |
| 401 | api_key_expired | The key was rotated and its 7-day overlap period ended. |
| 401 | oauth_token_invalid | The access token is not one Hometown issued, or it was changed. |
| 401 | oauth_token_expired | The access token lasted its 60 minutes. |
| 401 | oauth_token_revoked | The pro disconnected the app, or the app disconnected itself. |
| 429 | rate_limited | The key exceeded the per-minute limit of the account. |
| 429 | daily_quota_reached | The account reached its daily request limit. |
| 429 | sandbox_daily_cap_reached | The test keys of an account make up to 200 estimates a day together, sandbox inputs included. |
| 500 | internal_error | The request failed inside Hometown. |
Response Headers
X-Request-Id
The id of this request. Quote it when you contact support.
Hometown-Version
The API version that answered: the one the request named, or the version the account is pinned to.