Decline an invitation
Ends the invitation like a revoke; the inviter sees it as revoked.
openapi/harthelm.yaml at v1.5.0__Host-harthelm_session<token>Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header
Harthelm-CSRF: 1 and a matching Origin.
invite*stringAn invitation's id.
uuidDeclined.
curl -X POST 'https://console.example.com/api/v1/me/invites/497f6eca-6276-4993-bfeb-53cbbbba6f08/decline'Invite someone to a team
Team admins (`team.members`); role `admin` or `member`. Accepting it makes the invitee a member of the organization first. The answer carries the link once (`url`, to copy when mail is off). 409 `already-member`, `already-invited`, `team-deleting`; 429 when the caller is over the per-sender mail limit.
Pending invitations for the caller
Pending invitations whose email is the caller's verified email. They are accepted automatically at the next sign-in; the console offers *Accept* and *Decline* before that. Empty when the caller's email is not verified or the issuer's `email_verified` is not trusted.