Download OpenAPI specification:Download
Returns a list with a single organization associated with the API key in the request.
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "privateEndpoints": [
- {
- "id": "string",
- "description": "string",
- "cloudProvider": "gcp",
- "region": "ap-south-1"
}
]
}
]
}
Returns details of a single organization. In order to get the details, the auth key must belong to the organization.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "privateEndpoints": [
- {
- "id": "string",
- "description": "string",
- "cloudProvider": "gcp",
- "region": "ap-south-1"
}
]
}
}
Updates organization fields. Requires ADMIN auth key role.
Organization ID required | string <uuid> ID of the organization to update. |
name | string Name of the organization. |
object (OrganizationPrivateEndpointsPatch) |
{- "name": "string",
- "privateEndpoints": {
- "add": [
- {
- "id": "string",
- "description": "string",
- "cloudProvider": "gcp",
- "region": "ap-south-1"
}
], - "remove": [
- {
- "id": "string",
- "description": "string",
- "cloudProvider": "gcp",
- "region": "ap-south-1"
}
]
}
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "name": "string",
- "privateEndpoints": [
- {
- "id": "string",
- "description": "string",
- "cloudProvider": "gcp",
- "region": "ap-south-1"
}
]
}
}
Returns a list of all services in the organization.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}
]
}
Creates a new service in the organization, and returns the current service state and a password to access the service. The service is started asynchronously.
Organization ID required | string <uuid> ID of the organization that will own the service. |
name | string Name of the service. Alphanumerical string with whitespaces up to 50 characters. |
provider | string Enum: "aws" "gcp" "azure" Cloud provider |
region | string Enum: "ap-south-1" "ap-southeast-1" "eu-central-1" "eu-west-1" "eu-west-2" "us-east-1" "us-east-2" "us-west-2" "ap-southeast-2" "ap-northeast-1" "us-east1" "us-central1" "europe-west4" "asia-southeast1" "eastus" "eastus2" "westus3" "germanywestcentral" Service region. |
tier | string Enum: "development" "production" "dedicated_high_mem" "dedicated_high_cpu" "dedicated_standard" Tier of the service: 'development', 'production', 'dedicated_high_mem', 'dedicated_high_cpu', 'dedicated_standard'. Production services scale, Development are fixed size. |
Array of objects (IpAccessListEntry) List of IP addresses allowed to access the service | |
minTotalMemoryGb | number multiple of 12 [ 24 .. 720 ] Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24. |
maxTotalMemoryGb | number multiple of 12 [ 24 .. 720 ] Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services. |
numReplicas | number [ 3 .. 25 ] Number of replicas for the service. Must be greater than 3 and less than 25. Contact support to enable this feature. |
idleScaling | boolean When set to true the service is allowed to scale down to zero when idle. Always true for development services. |
idleTimeoutMinutes | number Set minimum idling timeout (in minutes). Must be >= 5 minutes. |
backupId | string <uuid> Optional backup ID used as an initial state for the new service. When used the region and the tier of the new instance must be the same as the values of the original instance. |
encryptionKey | string Optional customer provided disk encryption key |
encryptionAssumedRoleIdentifier | string Optional role to use for disk encryption |
privateEndpointIds | Array of strings List of private endpoints |
privatePreviewTermsChecked | boolean Accept the private preview terms and conditions. It is only needed when creating the first service in the organization in case of a private preview |
{- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "tier": "development",
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "privateEndpointIds": [
- "string"
], - "privatePreviewTermsChecked": true
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "service": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}, - "password": "string"
}
}
Returns a service that belongs to the organization
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the requested service. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}
}
Updates basic service details like service name or IP access list.
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the service to update. |
name | string Name of the service. Alphanumerical string with whitespaces up to 50 characters. |
object (IpAccessListPatch) | |
object (InstancePrivateEndpointsPatch) |
{- "name": "string",
- "ipAccessList": {
- "add": [
- {
- "source": "string",
- "description": "string"
}
], - "remove": [
- {
- "source": "string",
- "description": "string"
}
]
}, - "privateEndpointIds": {
- "add": [
- "string"
], - "remove": [
- "string"
]
}
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}
}
Deletes the service. The service must be in stopped state and is deleted asynchronously after this method call.
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the service to delete. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Information required to set up a private endpoint
Organization ID required | string <uuid> ID of the requested organization. |
Service ID required | string <uuid> ID of the requested service. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "endpointServiceId": "string",
- "privateDnsHostname": "string"
}
}
Starts or stop service
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the service to update state. |
command | string Enum: "start" "stop" Command to change the state: 'start', 'stop'. |
{- "command": "start"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}
}
Updates minimum and maximum total memory limits and idle mode scaling behavior for the service. The memory settings are available only for "production" services and must be a multiple of 12 starting from 24GB. Please contact support to enable adjustment of numReplicas.
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the service to update scaling parameters. |
minTotalMemoryGb | number multiple of 12 [ 24 .. 720 ] Minimum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than 24. |
maxTotalMemoryGb | number multiple of 12 [ 24 .. 720 ] Maximum total memory of all workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than 360 for non paid services or 720 for paid services. |
numReplicas | number [ 3 .. 25 ] Number of replicas for the service. Must be greater than 3 and less than 25. Contact support to enable this feature. |
idleScaling | boolean When set to true the service is allowed to scale down to zero when idle. Always true for development services. |
idleTimeoutMinutes | number Set minimum idling timeout (in minutes). Must be >= 5 minutes. |
{- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "state": "starting",
- "endpoints": [
- {
- "protocol": "https",
- "host": "string",
- "port": 0
}
], - "tier": "development",
- "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "createdAt": "2019-08-24T14:15:22Z",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "iamRole": "string",
- "privateEndpointIds": [
- "string"
]
}
}
Sets a new password for the service
Organization ID required | string <uuid> ID of the organization that owns the service. |
Service ID required | string <uuid> ID of the service to update password. |
newPasswordHash | string Optional password hash. Used to avoid password transmission over network. If not provided a new password is generated and is provided in the response. Otherwise this hash is used. Algorithm: echo -n "yourpassword" | sha256sum | tr -d '-' | xxd -r -p | base64 |
newDoubleSha1Hash | string Optional double SHA1 password hash for MySQL protocol. If newPasswordHash is not provided this key will be ignored and the generated password will be used. To enable this field please contact support as it is experimental. Algorithm: echo -n "yourpassword" | sha1sum | tr -d '-' | xxd -r -p | sha1sum | tr -d '-' |
{- "newPasswordHash": "string",
- "newDoubleSha1Hash": "string"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "password": "string"
}
}
Returns a list of all backups for the service. The most recent backups comes first in the list.
Organization ID required | string <uuid> ID of the organization that owns the backup. |
Service ID required | string <uuid> ID of the service the backup was created from. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "done",
- "serviceId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z"
}
]
}
Returns a single backup info.
Organization ID required | string <uuid> ID of the organization that owns the backup. |
Service ID required | string <uuid> ID of the service the backup was created from. |
Service backup ID required | string <uuid> ID of the requested backup. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "done",
- "serviceId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "finishedAt": "2019-08-24T14:15:22Z"
}
}
Returns a list of all keys in the organization.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "enabled",
- "roles": [
- "admin"
], - "keySuffix": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z",
- "usedAt": "2019-08-24T14:15:22Z"
}
]
}
Creates new API key.
Organization ID required | string <uuid> ID of the organization that will own the key. |
name | string Name of the key. |
expireAt | string <date-time> Timestamp the key expires. If not present or is empty the key never expires. ISO-8601. |
state | string Enum: "enabled" "disabled" Initial state of the key: 'enabled', 'disabled'. If not provided the new key will be 'enabled'. |
object (ApiKeyHashData) | |
roles | Array of strings Items Enum: "admin" "developer" List of roles assigned to the key. Contains at least 1 element. |
{- "name": "string",
- "expireAt": "2019-08-24T14:15:22Z",
- "state": "enabled",
- "hashData": {
- "keyIdHash": "string",
- "keyIdSuffix": "string",
- "keySecretHash": "string"
}, - "roles": [
- "admin"
]
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "enabled",
- "roles": [
- "admin"
], - "keySuffix": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z",
- "usedAt": "2019-08-24T14:15:22Z"
}, - "keyId": "string",
- "keySecret": "string"
}
}
Returns a single key details.
Organization ID required | string <uuid> ID of the requested organization. |
API key ID required | string <uuid> ID of the requested key. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "enabled",
- "roles": [
- "admin"
], - "keySuffix": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z",
- "usedAt": "2019-08-24T14:15:22Z"
}
}
Updates API key properties.
Organization ID required | string <uuid> ID of the organization that owns the key. |
API key ID required | string <uuid> ID of the key to update. |
name | string Name of the key |
roles | Array of strings Items Enum: "admin" "developer" List of roles assigned to the key. Contains at least 1 element. |
expireAt | string <date-time> Timestamp the key expires. If not present or is empty the key never expires. ISO-8601. |
state | string Enum: "enabled" "disabled" State of the key: 'enabled', 'disabled'. |
{- "name": "string",
- "roles": [
- "admin"
], - "expireAt": "2019-08-24T14:15:22Z",
- "state": "enabled"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "state": "enabled",
- "roles": [
- "admin"
], - "keySuffix": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z",
- "usedAt": "2019-08-24T14:15:22Z"
}
}
Deletes API key. Only a key not used to authenticate the active request can be deleted.
Organization ID required | string <uuid> ID of the organization that owns the key. |
API key ID required | string <uuid> ID of the key to delete. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Returns a list of all members in the organization.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "userId": "string",
- "name": "string",
- "role": "admin",
- "joinedAt": "2019-08-24T14:15:22Z"
}
]
}
Returns a single organization member details.
Organization ID required | string <uuid> ID of the organization the member is part of. |
User ID required | string <uuid> ID of the requested user. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "userId": "string",
- "name": "string",
- "role": "admin",
- "joinedAt": "2019-08-24T14:15:22Z"
}
}
Updates organization member role.
Organization ID required | string <uuid> ID of the organization the member is part of. |
User ID required | string <uuid> ID of the user to patch |
role | string Enum: "admin" "developer" Role of the member in the organization. |
{- "role": "admin"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "userId": "string",
- "name": "string",
- "role": "admin",
- "joinedAt": "2019-08-24T14:15:22Z"
}
}
Removes a user from the organization
Organization ID required | string <uuid> ID of the requested organization. |
User ID required | string <uuid> ID of the requested user. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Returns list of all organization invitations.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "role": "admin",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z"
}
]
}
Creates organization invitation.
Organization ID required | string <uuid> ID of the organization to invite a user to. |
string <email> Email of the invited user. Only a user with this email can join using the invitation. The email is stored in a lowercase form. | |
role | string Enum: "admin" "developer" Role of the member in the organization. |
{- "role": "admin"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "role": "admin",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z"
}
}
Returns details for a single organization invitation.
Organization ID required | string <uuid> ID of the requested organization. |
Organization invitation ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "role": "admin",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "createdAt": "2019-08-24T14:15:22Z",
- "expireAt": "2019-08-24T14:15:22Z"
}
}
Deletes a single organization invitation.
Organization ID required | string <uuid> ID of the organization that has the invitation. |
Organization invitation ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Returns a list of all organization activities.
Organization ID required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "organization_update_name",
- "actorType": "user",
- "actorId": "string",
- "actorDetails": "string",
- "actorIpAddress": "string",
- "organizationId": "string",
- "serviceId": "string"
}
]
}
Returns a single organization activity by ID.
Organization ID required | string <uuid> ID of the requested organization. |
Activity ID required | string ID of the requested activity. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "organization_update_name",
- "actorType": "user",
- "actorId": "string",
- "actorDetails": "string",
- "actorIpAddress": "string",
- "organizationId": "string",
- "serviceId": "string"
}
}
Information required to set up a private endpoint
Organization ID required | string <uuid> ID of the requested organization. |
Cloud provider identifier required | string Cloud provider identifier. One of aws, gcp, or azure. |
Cloud provider region required | string Region identifier within specific cloud providers. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "endpointServiceId": "string"
}
}