REST APIInvites
Invite by email or create a shareable link, with a pre-assigned role (Admin+) (FR-AUTH-011)
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/invites" \ -H "Content-Type: application/json" \ -d '{ "role": "OWNER" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "email": "user@example.com", "role": "OWNER", "invitedByUserId": "ba10385e-e592-45d6-a964-3acaa2423ffe", "expiresAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z", "acceptUrl": "string"}