davidjumani opened a new issue, #7096:
URL: https://github.com/apache/cloudstack/issues/7096
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### CLOUDSTACK VERSION
4.17+ (maybe previous as well)
##### SUMMARY
Unable to delete SSH Key as User within a project
##### STEPS TO REPRODUCE
- Create a project as admin
- Add a user to the project
- Log in as the user and enter the project
- Create an ssh key as user within the project
- Verify the key is created successfully
- Try to delete the key
- `Request failed. (431) : ProjectId and account/domainId can't be specified
together`
http://whatever:8080/client/api/?name=key&account=PrjAcct-proj-1&domainid=cfa951cf-909c-11ed-a946-1e008400027e&command=deleteSSHKeyPair&response=json&projectid=4e96a78d-2581-4d94-b1cd-6e7b392a1a29
##### EXPECTED RESULTS
The SSH Key is deleted
##### ACTUAL RESULTS
The account and domain id of the key is passed along with the project ID
Only the projectid should be specified in the API call
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]