Platform
Organizations and their API keys, created with the platform key
Find an organization by its slug
Requires the platform key as `Authorization: Bearer <platform key>`. Returns the organization with that slug and its metadata, to recover the id of an organization whose creation response was lost. 404 when no organization has the slug or the organization was not created with the platform key.
Create an organization and its first API key
Requires the platform key as `Authorization: Bearer <platform key>`. Creates the organization, owned by the platform account, with its metadata, and an API key for the platform account with the Owner role and no expiry. The key is returned once. 409 when the slug is in use.
Create another API key for an organization
Requires the platform key as `Authorization: Bearer <platform key>`. Creates an API key for the platform account in the organization, with the Owner role and no expiry, to replace a lost or leaked one; revoke the old key with the new one. The key is returned once. 404 when the platform account is not an active member of the organization.