[
https://issues.apache.org/jira/browse/SYNCOPE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245452#comment-13245452
]
Colm O hEigeartaigh commented on SYNCOPE-42:
--------------------------------------------
Hi Francesco,
Thanks for the review. One comment:
> * Why UserController.delete(String) does not take input coherently with
> UserController.delete(Long), i.e. "/delete?username={username}" instead of
> "/delete/{username}"?
I followed the existing pattern for reading a User, i.e.:
- /read/{userId}
- /read?username=X
I don't mind either way - let me know which way you prefer.
Colm.
> Add the ability to delete a user by username via the REST API
> -------------------------------------------------------------
>
> Key: SYNCOPE-42
> URL: https://issues.apache.org/jira/browse/SYNCOPE-42
> Project: Syncope
> Issue Type: Improvement
> Affects Versions: 1.0.0-incubating
> Reporter: Colm O hEigeartaigh
> Assignee: Colm O hEigeartaigh
> Fix For: 1.0.0-incubating
>
> Attachments: syncope-42.patch
>
>
> It is currently not possible to delete a user by username via the REST API,
> only via the user Id. This task is to add support for this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira