Organizations

Accept an organization invitation

Accepts an invitation for the authenticated human represented by the supplied token. Requires authenticated authority and enforces current resource policy.

post/api/orgs/{slug}/invitations/accept

Request

  • Base URL
    https://git.cafe
  • Auth
    • API key in cookie gc-session
    • or HTTP bearer
    • or HTTP token

Path parameters

slugstring required

Request body

tokenstring required

Response

Response for status 200

orgIdstring required
actorIdstring required
role'org-owner' | 'org-admin' | 'org-member-read' | 'org-member-write' | 'org-member-none' | 'org-outside-collaborator' required

Changes

No recorded changes to this operation across all 1 revision of this API.