Harthelm Docs
REST APIInvites

Decline an invitation

Ends the invitation like a revoke; the inviter sees it as revoked.

Generated from openapi/harthelm.yaml at v1.5.0
POST
/me/invites/{invite}/decline

Authorization

cookie__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.

Path Parameters

invite*string

An invitation's id.

Formatuuid

Response Body

Declined.

curl -X POST 'https://console.example.com/api/v1/me/invites/497f6eca-6276-4993-bfeb-53cbbbba6f08/decline'
Empty