Organizations
Organizations own members, API keys and apps.
List
https://api.akter.dev/v1/organizationsList the organizations the caller belongs to, a page at a time.
Query parameters
cursorstringThe nextCursor of the previous page.
limitintegerAt most this many items, 1 to 100. Defaults to 50.
Response 200OrganizationPage
itemsOrganization[]requireditems[].createdAtstringrequireditems[].displayNamestringrequiredA name for people to read, 1 to 100 characters.
items[].namestringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
nextCursorstringPass as cursor for the next page.
Errors
401UnauthorizedError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Create
https://api.akter.dev/v1/organizationsCreate an organization with a unique name; the caller becomes its owner.
Request bodyCreateOrganization
displayNamestringrequiredA name for people to read, 1 to 100 characters.
namestringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 201Organization
createdAtstringrequireddisplayNamestringrequiredA name for people to read, 1 to 100 characters.
namestringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Errors
401UnauthorizedError409AlreadyExistsError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Get
https://api.akter.dev/v1/organizations/{organization}Read one organization by name.
Path parameters
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 200Organization
createdAtstringrequireddisplayNamestringrequiredA name for people to read, 1 to 100 characters.
namestringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Update
https://api.akter.dev/v1/organizations/{organization}Rename an organization's display name. Its name, used in every path, never changes.
Path parameters
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Request bodyUpdateOrganization
displayNamestringrequiredA name for people to read, 1 to 100 characters.
Response 200Organization
createdAtstringrequireddisplayNamestringrequiredA name for people to read, 1 to 100 characters.
namestringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Delete
https://api.akter.dev/v1/organizations/{organization}Delete an organization that has no apps left: its API keys are revoked, its invitations dropped and its members removed, and its name can't be used again. Only an owner can, and a person confirms it.
Path parameters
organizationstringrequiredAn organization's name, unique across Akter Cloud. 1 to 63 characters: a lowercase letter, then lowercase letters, digits or single hyphens, ending in a letter or digit.
Response 204<No Content>
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError409InUseError428ConfirmationRequiredError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError