Toggle Auto-Earn
PUT/b2b/earn/:user/auto
Toggle Auto-Earn of a user.
Toggling Auto-Earn is an async operation, which is triggered by calling this endpoint. Therefore, the response is empty.
To fetch the users current Auto-Earn status, use GET /b2b/earn/{user}.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 429
- 500
- 503
Successful response indicating the Auto-Earn toggle operation was triggered. The response body is empty on success.
Bad Request — the request was malformed or contained invalid parameters. Not retryable.
Unauthorized — authentication failed or credentials are missing/invalid. Not retryable.
Forbidden — the authenticated user does not have permission to perform this action. Not retryable.
Not Found — the requested resource does not exist. Not retryable.
Request Timeout — the request took too long to process. Retryable.
Conflict — the request conflicts with the current state of the resource. Retryable in some cases (see error code).
Too Many Requests — rate limit exceeded. Retryable with backoff.
Internal Server Error — an unexpected error occurred. Generally retryable.
Service Unavailable — the service is temporarily unavailable. Retryable.