/
Create an invite
Requires members.invite. The invite is valid for 7 days; share its url with the new member. The invite may carry any permissions, so grant members.invite only to trusted members. Not available with a legacy company-wide key.
Безопасность
apiKeyAuth
- Mock serverhttps://b2b-app.lumowallet.io/_mock/apis/members/invites
- Productionhttps://b2b.lumowallet.io/members/invites
- Staginghttps://b2b-staging.lumowallet.io/members/invites
curl -i -X POST \
https://b2b-app.lumowallet.io/_mock/apis/members/invites \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"email": "[email protected]",
"role": "admin",
"permissions": [
"string"
]
}'Ответ
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "token": "string", "email": "[email protected]", "role": "admin", "permissions": [ "string" ], "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "url": "string" }