-
Notifications
You must be signed in to change notification settings - Fork 197
New issue
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
OCM. delete-accepted-user endpoint always returns 200 #10223
Comments
If it is not deleteting the connection (#10216) may be better to return 405 or 501? |
Wouldn't it be a 404 (Not Found) when trying to delete a non-existing connection? |
While deleting the non-existing user, in the request body:
https://github.com/user-attachments/assets/645bbcff-5225-4050-8ba8-44711a532cb0 |
Steps:
Given using server "LOCAL"
And "Alice" has generated invitation
And using server "REMOTE"
And "Brian" has accepted invitation
And "Brian" deletes connection to user "Alice"
Actual: 200. Should be 204?
And "Brian" tries to delete connection to user "Alice"
- or use random userIdExpected: bad request. user not found
Actual: 200
The text was updated successfully, but these errors were encountered: