Organizations
Revoke an invite link
Dostęp
Tylko administratorzy Tillor.
POST
Stops an invite link from working. People who already joined through it stay members. Super-admins only.
ApiKeyAuthheader
x-api-key<token>API key for authentication
organizationId*stringLength
1 <= lengthinviteLinkId*stringLength
1 <= lengthOK
application/json- response
id*stringcreatedAt*stringFormat
date-timecreatedBy*|nullexpiresAt*stringFormat
date-timemaxUses*integerRange
-9007199254740991 <= value <= 9007199254740991useCount*integerRange
-9007199254740991 <= value <= 9007199254740991revokedAt*|nullcurl -X POST 'https://api.tillor.eu/admin/organizations//invite-links/string/revoke'Example Response
{ "id": "string", "createdAt": "2019-08-24T14:15:22Z", "createdBy": { "id": "string", "name": "string" }, "expiresAt": "2019-08-24T14:15:22Z", "maxUses": -9007199254740991, "useCount": -9007199254740991, "revokedAt": "2019-08-24T14:15:22Z"}Create an invite link for a demo organization POST
Makes a link that lets whoever opens it and signs in join the demo organization with full permissions. The URL is returned once and never again. Refused for organizations that are not flagged as demo. Super-admins only.
List all organizations GET
Every organization with its member count. Super-admins only.