Automation
Create Script
Creates a new script under the tenant. However the script will be accessible based on its scope. Global Scripts - All user will have access to Corestack's Marketplace Scripts (Can view and execute). Account - All users under that account will have access (Can view and execute). Only Account admins can update/delete. Tenant - Users with access to the specific tenant will have access scripts (Can view and execute). Tenant admins can update/delete. Private - User who created will only have access.
post/operation/automation/scripts/{tenant_id}
Path parameters
tenant_idstring required
Specify the tenant ID. This is a unique ID and can be retrieved using the List Tenants API.
Request body
Example request
{
"category": [
"Application"
],
"platform": [
"linux"
],
"operating_system": [
"centos"
],
"config_type": "ansible",
"scope": "private",
"script_info": [
{
"path_type": "file"
}
],
"dependencies": [
{
"path_type": "file"
}
]
}Response
Created