Team Invites
Cancel a pending invitation
Changed onCancel a pending team invitation before it is accepted. Team key can be ID or slug. Deletes the invitation record.
delete/teams/{key}/invites/{inviteId}
Request
- Base URLhttps://api.session.services
- AuthAPI key in header x-tenant-id
Path parameters
key, string required
Team identifier (ID or slug)
inviteId, string required
Team invite ID to cancel
Response
OK
object required
invite, object required
Pending team invitation. Automatically deleted after 7 days via DynamoDB TTL. When accepted, creates a TeamMember record and deletes the invitation.
Example response
{
"invite": {
"permissions": []
}
}Changes
- info
the
invite/access/promoterIds/anyOf[subschema #1]/itemsresponse's property pattern^pmt_[0-9a-z]{26}$was added for the status - info
the
invite/idresponse's property pattern^inv_[0-9a-z]{26}$was added for the status - info
the
invite/invitedByresponse's property pattern^usr_[0-9a-z]{26}$was added for the status
2 more changes in this revision
- info