create user API return "unique_id":" too_short"

moonshot
Community Member

there are two question i hava

 

The first question is what the content of ":account" in the URL corresponds to. The second question is that I tried to fill in ":account" with "self", and the result showed

{"errors":{"user":{"pseudonyms":[{"attribute":"pseudonyms","type":"invalid","message":"invalid"}]},"pseudonym":{"unique_id":[{"attribute":"unique_id","type":"invalid","message":"invalid"},{"attribute":"unique_id","type":"too_short","message":"too_short"}]},"observee":{},"pairing_code":{},"recaptcha":null}}

i'm used this https://moonshot.instructure.com/api/v1/accounts/:account/users

0 Likes