Hi Vincent,
Have you added an Image to this Role?

BR
Vitaliy

On Sun, Feb 28, 2016 at 11:40 PM, Vincent Ma <[email protected]> wrote:

> I got some problem with creating roles using API v2.
>
> I created role by calling api. But, I can't found my role on my scalr
> website.
> When I tried to list roles by using api. It shows the new role has been
> created.
> Why scalr website didn't show this role?
>
> create role message:
>
> POST /api/v1beta0/user/1/roles/ - 201
>
> my role configuration:
>
> {u'category': {u'id': 1}, u'quickStart': False, u'deprecated': False,
> u'name': u'api-test-role', u'scope': u'environment', u'os': {u'id':
> u'ubuntu-14-04'}, u'id': 28, u'description': u''}
>
>
>
> json response:
>
>
> Accessing detail endpoint: /api/v1beta0/user/1/roles/28
>
> GET /api/v1beta0/user/1/roles/28 - 200
>
> {
>
>     "category": {
>
>         "id": 1
>
>     },
>
>     "quickStart": false,
>
>     "deprecated": false,
>
>     "name": "api-test-role",
>
>     "scope": "environment",
>
>     "os": {
>
>         "id": "ubuntu-14-04"
>
>     },
>
>     "id": 28,
>
>     "description": ""
>
> }
>
>
> But it doesn't show on my scalr website. Any help?
>
> --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to