[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Unable to add attributes to user via api



When I create a user by posting to /oapi/v1/users with the following JSON:

{"identites":[],"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUser","fullName":"Create New User"},"details":{},"code":0}

the user gets created by fullName isn't set:

{"kind":"User","apiVersion":"v1","metadata":{"name":"testCreateUser","selfLink":"/oapi/v1/users/testCreateUser","uid":"200ead3d-34cd-11e6-a8db-525400b18ee2","resourceVersion":"1096067","creationTimestamp":"2016-06-17T20:50:29Z"},"identities":null,"groups":null}

Is this the correct behavior?  can only name be set?


Thanks

Marc


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]