Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create User API body schema mismatch with the documentation #529

Closed
Killian-G opened this issue Oct 6, 2023 · 2 comments
Closed

Create User API body schema mismatch with the documentation #529

Killian-G opened this issue Oct 6, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Killian-G
Copy link

Parseable Version Info

Commit: be6231c
Version: v0.7.0

Details

The Create User API does not work as the documentation mentions here (link), for creating a user with a role we need to pass roles in the body in this format:

["admin"]

instead of:

[
    {
        "privilege": "admin"
    }
]
@nitisht
Copy link
Member

nitisht commented Oct 6, 2023

Thanks for reporting @Killian-G we'll fix this in the docs now.

@nitisht nitisht added the bug Something isn't working label Oct 6, 2023
@nitisht nitisht added this to the Release v0.7.1 milestone Oct 6, 2023
@nitisht
Copy link
Member

nitisht commented Nov 6, 2023

@nitisht nitisht closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants