Add Start Script
POST
/api/v1/start-script/Query parameters
project_idQueryintegerrequiredIdentifier of the project to scope the request to. Required integer project ID.
- required
- must be a valid integer project ID
example{{project_id}}apikeyQuerystringrequiredAPI key for authenticating the request
- required
- non-empty string
example{{api_key}}locationQuerystringrequiredSpecifies the target location for the start script
- must be a non-empty string
- should be a valid URI or file path
example{{location}}
Request body
application/json
Name of the start script to add
example
nginx-hello- must be a non-empty string
- may contain letters, numbers, hyphens and underscores
Script content to be executed at start
example
hello- required
- must be a non-empty string
Responses
200Successful response
HTTP status code indicating the result of adding the start script
example
200- must be an integer
- must be a valid HTTP status code (100-599)
Human-readable result message of the add start script operation
example
Success- must be a non-empty string
- maximum length of 200 characters