Change the organization role an invitation gives
Changes the role the invited person is given when they accept, before they do. An invitation is never to Owner. When the invitation carries access that a Viewer cannot hold, the role must stay at least Contributor (`400` `binding.below_org_role`). Writes an Activity entry.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
invitationId*string1 <= length <= 128application/json- body
orgRole*string"admin""contributor""viewer"Saved.
curl -X PUT 'https://wardn.example.com/api/v1/members/invitations/string/role' \ -H 'Content-Type: application/json' \ -d '{ "orgRole": "admin"}'Choose the access an invitation gives on acceptance PUT
When the invited person accepts, they are given the role on the place, ending on the expiry. It replaces any access the invitation carried before. The caller needs what a grant of that role there needs, and a role that only reads may go to any organization role, but one that changes things needs Con
Counts for the members filters GET
How many people are in each group the members screen offers as a filter.