Skip to content
Permalink
Browse files

Merge pull request #50 from DavidChouinard/patch-2

 Updated README user invite example
  • Loading branch information...
sw-yx committed May 25, 2019
2 parents d736a90 + 2c0f2ba commit 969c2fa5a0a11c2d392b039d70d54ac482bdde31
Showing with 2 additions and 7 deletions.
  1. +2 −7 README.md
@@ -606,7 +606,7 @@ Example response object:

### Invite a user

To invite a user using the admin token, do a `POST` request to `/invite` endpoint.
To invite a user using the admin token, do a `POST` request to `/invite` endpoint. It's not possible to set `user_metadata` or `app_metadata` until a user has been created.

Example usage:

@@ -647,12 +647,7 @@ Example response:
"email": "example@example.com",
"invited_at": "2018-05-25T20:28:04.436230023Z",
"app_metadata": {
"roles": [
"admin",
"test",
"second-test-role",
"third"
]
"provider": "email"
},
"user_metadata": null,
"created_at": "2018-05-25T20:28:03.684905861Z",

0 comments on commit 969c2fa

Please sign in to comment.
You can’t perform that action at this time.