This post is more than 5 years old
4 Posts
0
2115
April 25th, 2019 07:00
ECS Management API: Create user with tags fails
Hey,
I try to create a user with tags following this documentation:
But this always fails.
I send my query against: ecsnode:4443/object/users.json
JSON Body
{ "user": "newuser", "namespace": "namespace", "tags": [ "bla" ] }
This is what i get:
{ "code": 1013, "retryable": false, "description": "Bad request body", "details": "Can not instantiate value of type [simple type, class com.emc.storageos.data.datasvcmodels.user.UserTagParam] from JSON String; no single-String constructor/factory method (through reference chain: com.emc.storageos.data.datasvcmodels.user.UserCreateParam[\"tags\"])" }
Any ideas what i may do wrong?
Thanks
Thomas
No Events found!