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"
}
], - "byocConfig": [
- {
- "id": "string",
- "state": "infra-ready",
- "accountName": "string",
- "regionId": "ap-south-1",
- "cloudProvider": "gcp"
}
]
}
]
}
Returns details of a single organization. In order to get the details, the auth key must belong to the organization.
organizationId 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"
}
], - "byocConfig": [
- {
- "id": "string",
- "state": "infra-ready",
- "accountName": "string",
- "regionId": "ap-south-1",
- "cloudProvider": "gcp"
}
]
}
}
Updates organization fields. Requires ADMIN auth key role.
organizationId 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"
}
], - "byocConfig": [
- {
- "id": "string",
- "state": "infra-ready",
- "accountName": "string",
- "regionId": "ap-south-1",
- "cloudProvider": "gcp"
}
]
}
}
Returns details of a single organization. In order to get the details, the auth key must belong to the organization.
organizationId required | string <uuid> ID of the requested organization. |
{- "status": 400,
- "error": "string"
}
Returns a list of all services in the organization.
organizationId 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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "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.
organizationId 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" "dedicated_standard_n2d_standard_4" "dedicated_standard_n2d_standard_8" "dedicated_standard_n2d_standard_32" "dedicated_standard_n2d_standard_128" "dedicated_standard_n2d_standard_32_16SSD" "dedicated_standard_n2d_standard_64_24SSD" Tier of the service: 'development', 'production', 'dedicated_high_mem', 'dedicated_high_cpu', 'dedicated_standard', 'dedicated_standard_n2d_standard_4', 'dedicated_standard_n2d_standard_8', 'dedicated_standard_n2d_standard_32', 'dedicated_standard_n2d_standard_128', 'dedicated_standard_n2d_standard_32_16SSD', 'dedicated_standard_n2d_standard_64_24SSD'. Production services scale, Development are fixed size. Azure services don't support Development tier |
Array of objects (IpAccessListEntry) List of IP addresses allowed to access the service | |
minTotalMemoryGb | number multiple of 12 [ 24 .. 708 ] Deprecated DEPRECATED - inaccurate for services with non-default numbers of replicas. Minimum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than or equal to 24. |
maxTotalMemoryGb | number multiple of 12 [ 24 .. 708 ] Deprecated DEPRECATED - inaccurate for services with non-default numbers of replicas. Maximum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than or equal to 360 for non paid services or 708 for paid services. |
minReplicaMemoryGb | number multiple of 4 [ 8 .. 236 ] Minimum total memory of each replica during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 4 and greater than or equal to 8. |
maxReplicaMemoryGb | number multiple of 4 [ 8 .. 236 ] Maximum total memory of each replica during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 4 and lower than or equal to 120 for non paid services or 236 for paid services. |
numReplicas | number [ 1 .. 20 ] Number of replicas for the service. Must be between 1 and 20. Contact support to enable this feature. |
idleScaling | boolean When set to true the service is allowed to scale down to zero when idle. True by default. |
idleTimeoutMinutes | number Set minimum idling timeout (in minutes). Must be >= 5 minutes. |
isReadonly | boolean True if this service is read-only. It can only be read-only if a dataWarehouseId is provided. |
dataWarehouseId | string Data warehouse containing this service |
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 |
releaseChannel | string Enum: "default" "fast" Select fast if you want to get new ClickHouse releases as soon as they are available. You'll get new features faster, but with a higher risk of bugs. This feature is only available for production services. |
byocId | string This is the ID returned after setting up a region for Bring Your Own Cloud (BYOC). When the byocId parameter is specified, the minReplicaMemoryGb and the maxReplicaGb parameters are required too, with values included among the following sizes: 28, 60, 124, 188, 252, 380. |
{- "name": "string",
- "provider": "aws",
- "region": "ap-south-1",
- "tier": "development",
- "ipAccessList": [
- {
- "source": "string",
- "description": "string"
}
], - "minTotalMemoryGb": 48,
- "maxTotalMemoryGb": 360,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "numReplicas": 3,
- "idleScaling": true,
- "idleTimeoutMinutes": 0,
- "isReadonly": true,
- "dataWarehouseId": "string",
- "backupId": "eb7cea43-10b2-42dd-8819-ab9aed37565f",
- "encryptionKey": "string",
- "encryptionAssumedRoleIdentifier": "string",
- "privateEndpointIds": [
- "string"
], - "privatePreviewTermsChecked": true,
- "releaseChannel": "default",
- "byocId": "string"
}
{- "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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "string"
}, - "password": "string"
}
}
Returns a service that belongs to the organization
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId 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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "string"
}
}
Updates basic service details like service name or IP access list.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId 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) | |
releaseChannel | string Enum: "default" "fast" Select fast if you want to get new ClickHouse releases as soon as they are available. You'll get new features faster, but with a higher risk of bugs. This feature is only available for production services. |
{- "name": "string",
- "ipAccessList": {
- "add": [
- {
- "source": "string",
- "description": "string"
}
], - "remove": [
- {
- "source": "string",
- "description": "string"
}
]
}, - "privateEndpointIds": {
- "add": [
- "string"
], - "remove": [
- "string"
]
}, - "releaseChannel": "default"
}
{- "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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "string"
}
}
Deletes the service. The service must be in stopped state and is deleted asynchronously after this method call.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId 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
organizationId required | string <uuid> ID of the requested organization. |
serviceId 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
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId 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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "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.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId required | string <uuid> ID of the service to update scaling parameters. |
minTotalMemoryGb | number multiple of 12 [ 24 .. 708 ] Deprecated DEPRECATED - inaccurate for services with non-default numbers of replicas. Minimum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and greater than or equal to 24. |
maxTotalMemoryGb | number multiple of 12 [ 24 .. 708 ] Deprecated DEPRECATED - inaccurate for services with non-default numbers of replicas. Maximum memory of three workers during auto-scaling in Gb. Available only for 'production' services. Must be a multiple of 12 and lower than or equal to 360 for non paid services or 708 for paid services. |
numReplicas | number [ 1 .. 20 ] Number of replicas for the service. Must be between 1 and 20. Contact support to enable this feature. |
idleScaling | boolean When set to true the service is allowed to scale down to zero when idle. True by default. |
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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "string"
}
}
Updates minimum and maximum memory limits per replica and idle mode scaling behavior for the service. The memory settings are available only for "production" services and must be a multiple of 4 starting from 8GB. Please contact support to enable adjustment of numReplicas.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId required | string <uuid> ID of the service to update scaling parameters. |
minReplicaMemoryGb | number multiple of 4 [ 8 .. 236 ] Minimum auto-scaling memory in Gb for a single replica. Available only for 'production' services. Must be a multiple of 4 and greater than or equal to 8. |
maxReplicaMemoryGb | number multiple of 4 [ 8 .. 236 ] Maximum auto-scaling memory in Gb for a single replica . Available only for 'production' services. Must be a multiple of 4 and lower than or equal to 120 for non paid services or 236 for paid services. |
numReplicas | number [ 1 .. 20 ] Number of replicas for the service. Must be between 1 and 20. Contact support to enable this feature. |
idleScaling | boolean When set to true the service is allowed to scale down to zero when idle. True by default. |
idleTimeoutMinutes | number Set minimum idling timeout (in minutes). Must be >= 5 minutes. |
{- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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,
- "minReplicaMemoryGb": 16,
- "maxReplicaMemoryGb": 120,
- "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"
], - "dataWarehouseId": "string",
- "isPrimary": true,
- "isReadonly": true,
- "releaseChannel": "default",
- "byocId": "string"
}
}
Sets a new password for the service
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId 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. 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 prometheus metrics for a service.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId required | string <uuid> ID of the requested service. |
filtered_metrics | string <boolean> Return a filtered list of Prometheus metrics. |
{- "status": 400,
- "error": "string"
}
Returns a list of all backups for the service. The most recent backups comes first in the list.
organizationId required | string <uuid> ID of the organization that owns the backup. |
serviceId 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",
- "sizeInBytes": 0,
- "durationInSeconds": 0,
- "type": "full"
}
]
}
Returns a single backup info.
organizationId required | string <uuid> ID of the organization that owns the backup. |
serviceId required | string <uuid> ID of the service the backup was created from. |
backupId 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",
- "sizeInBytes": 0,
- "durationInSeconds": 0,
- "type": "full"
}
}
Returns the service backup configuration.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId required | string <uuid> ID of the service. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "backupPeriodInHours": 0,
- "backupRetentionPeriodInHours": 0,
- "backupStartTime": "string"
}
}
Updates service backup configuration. Requires ADMIN auth key role. Setting the properties with null value, will reset the properties to theirs default values.
organizationId required | string <uuid> ID of the organization that owns the service. |
serviceId required | string <uuid> ID of the service. |
backupPeriodInHours | number The interval in hours between each backup. |
backupRetentionPeriodInHours | number The minimum duration in hours for which the backups are available. |
backupStartTime | string The time in HH:MM format for the backups to be performed (evaluated in UTC timezone). When defined the backup period resets to every 24 hours. |
{- "backupPeriodInHours": 0,
- "backupRetentionPeriodInHours": 0,
- "backupStartTime": "string"
}
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": {
- "backupPeriodInHours": 0,
- "backupRetentionPeriodInHours": 0,
- "backupStartTime": "string"
}
}
Returns a list of all keys in the organization.
organizationId 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.
organizationId 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" "org_member" "billing" 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.
organizationId required | string <uuid> ID of the requested organization. |
keyId 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.
organizationId required | string <uuid> ID of the organization that owns the key. |
keyId required | string <uuid> ID of the key to update. |
name | string Name of the key |
roles | Array of strings Items Enum: "admin" "developer" "org_member" "billing" 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.
organizationId required | string <uuid> ID of the organization that owns the key. |
keyId 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.
organizationId 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.
organizationId required | string <uuid> ID of the organization the member is part of. |
userId 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.
organizationId required | string <uuid> ID of the organization the member is part of. |
userId required | string <uuid> ID of the user to patch |
role | string Enum: "admin" "developer" "org_member" "billing" 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
organizationId required | string <uuid> ID of the requested organization. |
userId required | string <uuid> ID of the requested user. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Returns list of all organization invitations.
organizationId 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.
organizationId 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" "org_member" "billing" 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.
organizationId required | string <uuid> ID of the requested organization. |
invitationId 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.
organizationId required | string <uuid> ID of the organization that has the invitation. |
invitationId required | string <uuid> ID of the requested organization. |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6"
}
Returns a list of all organization activities.
organizationId required | string <uuid> ID of the requested organization. |
from_date | string <date-time> A starting date for a search |
to_date | string <date-time> An ending date for a search |
{- "status": 200,
- "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6",
- "result": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "type": "create_organization",
- "actorType": "user",
- "actorId": "string",
- "actorDetails": "string",
- "actorIpAddress": "string",
- "organizationId": "string",
- "serviceId": "string"
}
]
}
Returns a single organization activity by ID.
organizationId required | string <uuid> ID of the requested organization. |
activityId 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": "create_organization",
- "actorType": "user",
- "actorId": "string",
- "actorDetails": "string",
- "actorIpAddress": "string",
- "organizationId": "string",
- "serviceId": "string"
}
}
Information required to set up a private endpoint
organizationId 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"
}
}