We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue involves creating an endpoint to update the region preference for a specific user in the system.
Method: PUT URL: /api/v1/users/{userId}/region
Content-Type: application/json Body:
{ "region_code": "string" }
Status Code: 200 Body:
{ "status_code": 200, "message": "User region updated successfully" }
Unauthorized (401) Body:
{ "status_code": 401, "message": "Unauthorized" }
Forbidden (403) Body:
{ "status_code": 403, "message": "Forbidden" }
Not Found (404) Body:
{ "status_code": 404, "message": "User not found" }
Bad Request (400) Body:
{ "status_code": 400, "message": "Invalid region code" }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
This issue involves creating an endpoint to update the region preference for a specific user in the system.
Endpoint
Method: PUT
URL: /api/v1/users/{userId}/region
Request Body
Content-Type: application/json
Body:
Success Response
Status Code: 200
Body:
Error Responses
Unauthorized (401)
Body:
Forbidden (403)
Body:
Not Found (404)
Body:
Bad Request (400)
Body:
Checklist
Error Handling
Security Measures
Tasks
The text was updated successfully, but these errors were encountered: