-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
Low
-
None
-
Affects Version/s: 6.7.2
-
Component/s: API - REST
-
None
-
1
-
Severity 3 - Minor
-
1
Issue Summary
The DELETE user's permission endpoint http://example.com/rest/api/1.0/projects/{projectKey}/permissions/users should return a different value rather than the 204 success status code.
As per the reference documentation, we may expect a 400 Bad request status code. However, we are getting a 204
Steps to Reproduce
- Go to project settings
- Confirm that the user does not have any permissions mapped to him.
- Run a DELETE against the /rest/api/1.0/projects/{projectKey}/permissions/users endpoint.
Tested on 6.7.2.
Expected Results
Get a 4xx client-side error status code response.
Actual Results
We are getting a 204 status code.
Workaround
Currently, there is no known workaround for this behavior.