Skip to content
CalypsoAI
Search
K
Main Navigation
App
Product docs
Appearance
Menu
Return to top
Import org settings.
POST
/backend/v1/admin/import
Restores organization configuration from a previously created backup.
Authorizations
HTTPBearer
Type
HTTP (bearer)
Request Body
application/json
Schema
JSON
JSON
{
"clearExisting"
:
false
,
"export"
:
{
"settings"
:
{
"packages"
:
[
{
"availability"
:
{
"global"
:
false
,
"projectIds"
:
[
[
]
]
}
,
"availableUpdate"
:
"string"
,
"direction"
:
"string"
,
"id"
:
"string"
,
"name"
:
"string"
,
"projectId"
:
"string"
,
"scannerCounts"
:
{
"additionalProperties"
:
0
}
,
"scannerIds"
:
[
"string"
]
,
"shared"
:
false
,
"source"
:
{
"type"
:
"internal"
}
,
"vendored"
:
false
}
]
,
"projects"
:
[
{
"addedPackagesIds"
:
[
"string"
]
,
"addedProviderIds"
:
[
"string"
]
,
"addedScannerIds"
:
[
"string"
]
,
"project"
:
{
"adminCount"
:
0
,
"adminRoleId"
:
"string"
,
"botType"
:
"string"
,
"chatbotId"
:
"string"
,
"config"
:
{
"packages"
:
[
{
"blocking"
:
"string"
,
"enabled"
:
"string"
,
"flagMessage"
:
"string"
,
"force"
:
"string"
,
"id"
:
"string"
,
"mode"
:
"string"
,
"version"
:
"string"
}
]
,
"providerRouting"
:
"string"
,
"providers"
:
[
{
"capabilities"
:
"string"
,
"default"
:
"string"
,
"enabled"
:
true
,
"id"
:
"string"
,
"name"
:
"string"
,
"type"
:
"string"
}
]
,
"scanners"
:
[
{
"blocking"
:
"string"
,
"enabled"
:
"string"
,
"flagMessage"
:
"string"
,
"force"
:
"string"
,
"id"
:
"string"
,
"mode"
:
"string"
,
"version"
:
"string"
}
]
}
,
"createdAt"
:
"string"
,
"createdBy"
:
"string"
,
"friendlyId"
:
"string"
,
"id"
:
"string"
,
"memberCount"
:
0
,
"memberRoleId"
:
"string"
,
"name"
:
"string"
,
"providerCount"
:
"string"
,
"scannerCount"
:
"string"
,
"tokenCount"
:
"string"
,
"type"
:
"string"
,
"updatedAt"
:
"string"
}
,
"roles"
:
[
{
"id"
:
"string"
,
"memberCount"
:
0
,
"name"
:
"string"
,
"permissions"
:
[
[
]
]
,
"projectId"
:
"string"
,
"system"
:
true
}
]
}
]
,
"providers"
:
[
{
"authTemplate"
:
"string"
,
"availability"
:
{
"global"
:
false
,
"projectIds"
:
[
[
]
]
}
,
"capabilities"
:
[
]
,
"hasLogo"
:
false
,
"id"
:
"string"
,
"inputs"
:
{
"additionalProperties"
:
"string"
}
,
"maxRequestsPerSecond"
:
"string"
,
"name"
:
"string"
,
"projectId"
:
"string"
,
"redTeam"
:
false
,
"requestConcurrencyLimit"
:
"string"
,
"secrets"
:
{
"additionalProperties"
:
"string"
}
,
"siem"
:
false
,
"systemProviderId"
:
"string"
,
"tag"
:
"string"
,
"template"
:
{
"awsAuth"
:
"string"
,
"body"
:
"string"
,
"headers"
:
{
"additionalProperties"
:
"string"
}
,
"json"
:
"string"
,
"method"
:
"string"
,
"ociAuth"
:
"string"
,
"outputs"
:
{
}
,
"queryParams"
:
{
"additionalProperties"
:
"string"
}
,
"timeout"
:
20
,
"type"
:
"request"
,
"url"
:
"string"
}
,
"type"
:
"string"
}
]
,
"roles"
:
[
{
"id"
:
"string"
,
"memberCount"
:
0
,
"name"
:
"string"
,
"permissions"
:
[
[
]
]
,
"projectId"
:
"string"
,
"system"
:
true
}
]
,
"scanners"
:
[
]
,
"secrets"
:
[
{
"deletedAt"
:
"string"
,
"id"
:
"string"
,
"name"
:
"string"
,
"value"
:
"string"
}
]
}
,
"version"
:
0
}
}
Responses
200
422
Successful Response
Content-Type
application/json
Schema
JSON
JSON
{
"message"
:
"string"
}
POST
/backend/v1/admin/import
Playground
Server
Select a server...
Authorization
HTTPBearer
Body
Try it out
Samples
Powered by
VitePress OpenAPI