[ 
https://issues.apache.org/jira/browse/SYNCOPE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13245457#comment-13245457
 ] 

Francesco Chicchiriccò commented on SYNCOPE-42:
-----------------------------------------------

Colm,
you're right!

Personally, I would like to have

/read/{userId}
/read/{username}
/delete/{userId}
/delete/{username}

but if this is not possible - I don't know if this can cause issues to Spring 
MVC matcher - then I think we should normalize as

/read?userId={userId}
/read?username={username}
/delete?userId={userId}
/delete?username={username}

WDYT?
                
> 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


Reply via email to