API reference
Databases
/ v1/ orgs/ :orgId/ databasesThe org's databases with live status, item count and size from DynamoDB.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).
Errors
404Table not found
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/databases' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
databases: {
table: {
status: string
itemCount: number
sizeBytes: number
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
indexCount: number
deletionProtection: boolean
}
region: string
type: "repository" | "database" | "bucket"
name: string
status?: "error" | "active" | "deleting" | "creating"
createdAt?: number
updatedAt?: number
orgId: string
resourceId: string
createdBy: string
projectId?: string
location: string
arn?: string
physicalName: string
restoredFrom?: string
pendingSetup?: boolean
} | {
table: null
error: "unavailable" | "missing"
region: string
type: "repository" | "database" | "bucket"
name: string
status?: "error" | "active" | "deleting" | "creating"
createdAt?: number
updatedAt?: number
orgId: string
resourceId: string
createdBy: string
projectId?: string
location: string
arn?: string
physicalName: string
restoredFrom?: string
pendingSetup?: boolean
}[]
}/ v1/ orgs/ :orgId/ databases/ :resourceIdA database record and its live table description (keys, indexes, status). table is null when the table was deleted outside the platform.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Errors
404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
database: {
region: string
type: "repository" | "database" | "bucket"
name: string
status?: "error" | "active" | "deleting" | "creating"
createdAt?: number
updatedAt?: number
orgId: string
resourceId: string
createdBy: string
projectId?: string
location: string
arn?: string
physicalName: string
restoredFrom?: string
pendingSetup?: boolean
}
table: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
status: string
indexes: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
kind: "local" | "global"
projection: {
type: "ALL" | "KEYS_ONLY" | "INCLUDE"
attributes?: string[]
}
status?: string
backfilling?: boolean
itemCount?: number
sizeBytes?: number
}[]
itemCount: number
sizeBytes: number
billingMode: string
tableClass: string
deletionProtection: boolean
createdAt?: number
}
}
| {
database: {
region: string
type: "repository" | "database" | "bucket"
name: string
status?: "error" | "active" | "deleting" | "creating"
createdAt?: number
updatedAt?: number
orgId: string
resourceId: string
createdBy: string
projectId?: string
location: string
arn?: string
physicalName: string
restoredFrom?: string
pendingSetup?: boolean
}
table: null
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ scanOne page of a scan. Pass cursor from the previous page to continue.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
indexstringUp to 255 characters.
limitintegerDefault
25. 1–100.cursorstringUp to 8,000 characters.
filtersobject[]Default
[]. Up to 10 items.filters[].attributestringrequiredMatches
^[^\u0000-\u001f]{1,255}$.filters[].op"=" | "<>" | "<" | "<=" | ">" | ">=" | "begins_with" | "contains" | "between" | "exists" | "not_exists"requiredfilters[].valueobject | object | object | object | objectfilters[].value2object | object | object | object | objectmatch"all" | "any"Default
"all".projectionstring[]Up to 50 items. Each matches
^[^\u0000-\u001f]{1,255}$.
Errors
400No index named ….400A condition is missing its value.400Invalid page cursor. Run the request again.404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/scan' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"index": "example",
"limit": 25,
"cursor": "example"
}'Response 200
{
items: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}
}
L?: object
SS?: string[]
NS?: string[]
BS?: string[]
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}[]
count: number
scanned: number
cursor?: string
consumed?: number
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ queryOne page of a query on the table or an index.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
indexstringUp to 255 characters.
limitintegerDefault
25. 1–100.cursorstringUp to 8,000 characters.
filtersobject[]Default
[]. Up to 10 items.filters[].attributestringrequiredMatches
^[^\u0000-\u001f]{1,255}$.filters[].op"=" | "<>" | "<" | "<=" | ">" | ">=" | "begins_with" | "contains" | "between" | "exists" | "not_exists"requiredfilters[].valueobject | object | object | object | objectfilters[].value2object | object | object | object | objectmatch"all" | "any"Default
"all".projectionstring[]Up to 50 items. Each matches
^[^\u0000-\u001f]{1,255}$.partitionobject | object | object | object | objectrequiredsortobjectsort.op"=" | "<" | "<=" | ">" | ">=" | "begins_with" | "between"requiredsort.valueobject | object | object | object | objectrequiredsort.value2object | object | object | object | objectforwardbooleanDefault
true.
Errors
400No index named ….400A condition is missing its value.400This table or index has no sort key.400The sort key condition is missing a value.400begins_with works on string and binary sort keys only.400Invalid page cursor. Run the request again.404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/query' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"partition": {}
}'Response 200
{
items: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}
}
L?: object
SS?: string[]
NS?: string[]
BS?: string[]
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}[]
count: number
scanned: number
cursor?: string
consumed?: number
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ items/ getStrongly consistent read of one item by key.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
keyobjectrequiredValues: any JSON.
Errors
400A key has only ….404Database not found404Table not found404Item not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/items/get' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"key": {}
}'Response 200
{
item: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}
L?: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: {
[key: string]: {
S?: string
N?: string
B?: string
BOOL?: boolean
NULL?: true
M?: object
L?: object
SS?: object
NS?: object
BS?: object
}
}
L?: object
SS?: string[]
NS?: string[]
BS?: string[]
}[]
SS?: string[]
NS?: string[]
BS?: string[]
}
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ itemsWrites an item. With originalKey, replaces that item (a key change moves it); with expected, the write fails with 409 if the item changed since it was read.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body (up to 800 KB)
itemobjectrequiredValues: any JSON.
originalobjectValues: any JSON.
Errors
400A key has only ….404Database not found404Table not found409An item with this key already exists.409This item was deleted. Create it again instead.413The item is larger than DynamoDB's 400 KB limit.
Errors from AWS map as in AWS errors.
curl -X PUT 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/items' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"item": {}
}'/ v1/ orgs/ :orgId/ databases/ :resourceId/ items/ deleteDeletes items by key.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
keyobjectrequiredValues: any JSON.
Errors
400A key has only ….404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/items/delete' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"key": {}
}'Response 204 with no body
/ v1/ orgs/ :orgId/ databases/ :resourceId/ items/ batch-deleteDeletes up to 100 items by key (batched). failed counts deletes DynamoDB kept throttling.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
keysobject[]required1–100 items. Each values: any JSON.
Errors
400A key has only ….404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/items/batch-delete' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"keys": [
{}
]
}'Response 200
{
deleted: number
failed: number
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ items/ importImports up to 100 items (typed DynamoDB JSON). overwrite replaces items with the same key; skip keeps existing ones. Nothing is written if any item is invalid.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body (up to 6,144 KB)
itemsobject[]required1–100 items. Each values: any JSON.
mode"overwrite" | "skip"Default
"skip".
Errors
404Database not found404Table not found413Send at most 6 MB of items per request.
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/items/import' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"items": [
{}
]
}'Response 200
{
written: number
skipped: number
failed: number
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ restoreRestores the table as it was at time (epoch ms; default the latest restorable time) into a new database named name. Needs point-in-time recovery; the new table takes minutes or longer to appear.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
namestringrequiredMatches
^[a-z0-9][a-z0-9-]{1,38}[a-z0-9]$.timeinteger> 0.
Errors
404Database not found
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/restore' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example"
}'Response 202
{
resource: {
region: string
type: "repository" | "database" | "bucket"
name: string
status?: "error" | "active" | "deleting" | "creating"
createdAt?: number
updatedAt?: number
orgId: string
resourceId: string
createdBy: string
projectId?: string
location: string
arn?: string
physicalName: string
restoredFrom?: string
pendingSetup?: boolean
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ exportsThe table's recent full exports to S3.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Errors
404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/exports' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
exports: {
exportArn: string
status: string
startedAt?: number
endedAt?: number
bucket?: string
prefix?: string
itemCount?: number
sizeBytes?: number
failure?: string
manifest?: string
}[]
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ exportsExports the whole table (DynamoDB JSON, gzipped) into one of the organization's buckets under prefix. Needs point-in-time recovery; large tables take a while.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
bucketIdstringrequiredAt least 1 character.
prefixstringUp to 512 characters.
Errors
404Database not found404Bucket not found404Table not found409Turn on point-in-time recovery in Settings to export the whole table.
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/exports' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"bucketId": "<bucketId>"
}'Response 202
{
export: {
exportArn: string
status: string
startedAt?: number
endedAt?: number
bucket?: string
prefix?: string
itemCount?: number
sizeBytes?: number
failure?: string
manifest?: string
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ indexesAdds a global secondary index. The table answers with status UPDATING while DynamoDB backfills the index.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
namestringrequiredMatches
^[A-Za-z0-9_.-]{3,255}$.partitionKeyobjectrequiredpartitionKey.namestringrequiredMatches
^[A-Za-z_][A-Za-z0-9_.-]{0,254}$.partitionKey.type"S" | "N" | "B"requiredsortKeyobjectsortKey.namestringrequiredMatches
^[A-Za-z_][A-Za-z0-9_.-]{0,254}$.sortKey.type"S" | "N" | "B"requiredprojectionobjectrequiredprojection.type"ALL" | "KEYS_ONLY" | "INCLUDE"requiredprojection.attributesstring[]1–20 items. Each matches
^[^\u0000-\u001f]{1,255}$.
Errors
400List the attributes to include.400The sort key must differ from the partition key.400… is already a … key attribute; use that type.404Database not found404Table not found409Indexes can only be added to on-demand tables here.409An index named … already exists.
Errors from AWS map as in AWS errors.
curl -X POST 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/indexes' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"name": "Example",
"partitionKey": {
"name": "Example",
"type": "S"
},
"projection": {
"type": "ALL"
}
}'Response 202
{
table: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
status: string
indexes: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
kind: "local" | "global"
projection: {
type: "ALL" | "KEYS_ONLY" | "INCLUDE"
attributes?: string[]
}
status?: string
backfilling?: boolean
itemCount?: number
sizeBytes?: number
}[]
itemCount: number
sizeBytes: number
billingMode: string
tableClass: string
deletionProtection: boolean
createdAt?: number
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ indexes/ :indexNameRemoves a global secondary index.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.indexNameGlobal secondary index name.
Errors
404Database not found404Table not found404Index not found409Local indexes can't be removed from a table.
Errors from AWS map as in AWS errors.
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/indexes/{indexName}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 202
{
table: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
status: string
indexes: {
partitionKey: {
name: string
type: "S" | "N" | "B"
}
sortKey?: {
name: string
type: "S" | "N" | "B"
}
name: string
kind: "local" | "global"
projection: {
type: "ALL" | "KEYS_ONLY" | "INCLUDE"
attributes?: string[]
}
status?: string
backfilling?: boolean
itemCount?: number
sizeBytes?: number
}[]
itemCount: number
sizeBytes: number
billingMode: string
tableClass: string
deletionProtection: boolean
createdAt?: number
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ metricsConsumed capacity, throttles and latency from CloudWatch.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Query parameters
rangeanyDefault
"1h".
Errors
404Database not found
Errors from AWS map as in AWS errors.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/metrics' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
range: "24h" | "7d" | "1h"
period: 300 | 3600 | 60
from: number
to: number
series: {
t: number
read: number
write: number
readThrottles: number
writeThrottles: number
}[]
latency: {
operations: string[]
points: {
[key: string]: null | number
t: number
}[]
}
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ settingsTime to live, point-in-time recovery, deletion protection, table class and tags.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:read
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Errors
404Database not found404Table not found
Errors from AWS map as in AWS errors.
curl 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 200
{
deletionProtection: boolean
tableClass: string
ttl: {
status: "DISABLED" | "ENABLED" | "DISABLING" | "ENABLING"
attribute?: string
}
pitr: {
status: "DISABLED" | "ENABLED"
recoveryPeriodDays?: number
earliest?: number
latest?: number
}
tags: {
key: string
value: string
}[]
}/ v1/ orgs/ :orgId/ databases/ :resourceId/ settingsTime to live, point-in-time recovery, deletion protection and table class.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Request body
ttlobjectttl.enabledbooleanrequiredttl.attributestringMatches
^[^\u0000-\u001f]{1,255}$.pitrbooleandeletionProtectionbooleantableClass"STANDARD" | "STANDARD_INFREQUENT_ACCESS"
Also checked: Nothing to change.
Errors
400Name the attribute that holds the expiry time.404Database not found404Table not found409Time to live isn't enabled.
Errors from AWS map as in AWS errors.
curl -X PATCH 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}/settings' \
-H "Authorization: Bearer $CACTIVE_TOKEN" \
-H 'Content-Type: application/json' \
-d '{
"ttl": {
"enabled": true
},
"pitr": true,
"deletionProtection": true
}'Response 200
{
deletionProtection: boolean
tableClass: string
ttl: {
status: "DISABLED" | "ENABLED" | "DISABLING" | "ENABLING"
attribute?: string
}
pitr: {
status: "DISABLED" | "ENABLED"
recoveryPeriodDays?: number
earliest?: number
latest?: number
}
tags: {
key: string
value: string
}[]
}/ v1/ orgs/ :orgId/ databases/ :resourceIdDeletes the table and its record. Refused while deletion protection is on.
- Auth
- A person's token or an API key, as Authorization: Bearer.
- Scope
- resources:write
Path parameters
orgIdOrganization id (
org_…).resourceIdResource id (
res_…); for a group's access, the Serverless App Service id (prj_…) or the repository's resource id.
Errors
404Database not found404Table not found409Turn off deletion protection first.409Wait for index … to finish …, then try again.
Errors from AWS map as in AWS errors.
curl -X DELETE 'https://api.cactive.com.au/v1/orgs/{orgId}/databases/{resourceId}' \
-H "Authorization: Bearer $CACTIVE_TOKEN"Response 204 with no body