ja29127

Error in 'Update User' REST API (Swagger) documentation

Discussion created by ja29127 on Aug 18, 2017
Latest reply on Aug 24, 2017 by ja29127

I believe there is an error in the REST API documentation for updating a user.  This documentation is for 'Update User', or 'PATCH /learn/api/public/v1/users/{userId}'.  Implementation notes state this updates a user.  The userId field can be specified explicitly with an 'externalId:' or 'userName:' modifier.

 

Response Messages include an HTTP Status Code 409, with reason, 'A user with the same username or batchUid already exists'.

 

Shouldn't this call only be made when a user with the same username or batchUid already exists?  Or am I just that tired?

Outcomes