Organizations

Create an organization invitation

Creates an invitation and schedules its email delivery. Requires authenticated authority and enforces current resource policy.

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

Request

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

Path parameters

slugstring required

Request body

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

Response

Response for status 202

idstring required
orgIdstring required
actorIdstring required
emailstring email nullable required
role'org-owner' | 'org-admin' | 'org-member-read' | 'org-member-write' | 'org-member-none' | 'org-outside-collaborator' required
createdAtstring date-time required
expiresAtstring date-time required
acceptedAtstring date-time nullable required
revokedAtstring date-time nullable required

Changes

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