Members
The people in an organization and their roles: owner, admin, developer or viewer.
List
https://api.akter.dev/v1/organizations/{organization}/membersList an organization's members and their roles, a page at a time.
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.
Query parameters
cursorstringThe nextCursor of the previous page.
limitintegerAt most this many items, 1 to 100. Defaults to 50.
Response 200MemberPage
itemsMember[]requireditems[].emailstringrequiredAn email address, such as ada@example.com.
items[].idstringrequiredAn opaque id that starts with mem_.
items[].joinedAtstringrequireditems[].role"owner" | "admin" | "developer" | "viewer"requiredowner manages members and billing; admin manages apps and API keys; developer builds and deploys; viewer reads.
nextCursorstringPass as cursor for the next page.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Add
https://api.akter.dev/v1/organizations/{organization}/membersAdd a person to an organization by email, with a role.
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 bodyAddMember
emailstringrequiredAn email address, such as ada@example.com.
role"owner" | "admin" | "developer" | "viewer"requiredowner manages members and billing; admin manages apps and API keys; developer builds and deploys; viewer reads.
Response 201Member
emailstringrequiredAn email address, such as ada@example.com.
idstringrequiredAn opaque id that starts with mem_.
joinedAtstringrequiredrole"owner" | "admin" | "developer" | "viewer"requiredowner manages members and billing; admin manages apps and API keys; developer builds and deploys; viewer reads.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError409AlreadyExistsError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Change role
https://api.akter.dev/v1/organizations/{organization}/members/{member}Change a member's role. The Cloud API applies it at once; their actor calls get it with their next token, within a minute.
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.
memberstringrequiredAn opaque id that starts with mem_.
Request bodyChangeRole
role"owner" | "admin" | "developer" | "viewer"requiredowner manages members and billing; admin manages apps and API keys; developer builds and deploys; viewer reads.
Response 200Member
emailstringrequiredAn email address, such as ada@example.com.
idstringrequiredAn opaque id that starts with mem_.
joinedAtstringrequiredrole"owner" | "admin" | "developer" | "viewer"requiredowner manages members and billing; admin manages apps and API keys; developer builds and deploys; viewer reads.
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError
Remove
https://api.akter.dev/v1/organizations/{organization}/members/{member}Remove a member from an organization; they lose access to it. The Cloud API refuses them at once; a token they already hold still calls the organization's apps until it expires, at most a minute.
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.
memberstringrequiredAn opaque id that starts with mem_.
Response 204<No Content>
Errors
401UnauthorizedError403ForbiddenError404NotFoundError | FeatureNotEnabledError428ConfirmationRequiredError503ActorUnavailableError | AuthUnavailableError | BillingUnavailableError | BuildStorageUnavailableError | ExecUnavailableError