Add Start Script
POST
/api/v1/start-script/Query parameters
project_idQuerystringoptionalIdentifier of the project to scope the request to. Optional; if omitted, the account's default project is used.
- optional
- if omitted, the request is applied to the default project
example{{project_id}}apikeyQuerystringoptionalAPI key for authenticating the request
- required
- non-empty string
example{{api_key}}locationQuerystringoptionalSpecifies 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