SandboxesProcesses
Rename a process
Change the name of a running process without an autostart definition.
Authorization
apiKey AuthorizationBearer <token>
API key starting with tektona_. Create one at app-dev.tektona.ai under API Keys.
In: header
Path Parameters
sandboxIdOrName*string
Sandbox ID (ULID) or name
ref*string
Process ULID or name
Query Parameters
org?string
Required when the path names the sandbox by name.
project?string
Required when the path names the sandbox by name.
resume?boolean
Wake a paused sandbox to serve this request
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name*string
New process name
Match
^[a-z0-9]([a-z0-9_-]*[a-z0-9])?$Length
length <= 64Response Body
application/json
application/problem+json
curl -X PUT "https://example.com/v1/sandboxes/string/processes/string/name" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "already_finished": true, "autostart": true, "command": "string", "cwd": "string", "error": "string", "exit_code": 0, "finish_reason": "string", "finished_at": "2019-08-24T14:15:22Z", "id": "string", "max_log_bytes": 0, "name": "string", "on_hibernate": "string", "pid": 0, "prevent_auto_pause": true, "restarted_from": "string", "signal": "string", "started_at": "2019-08-24T14:15:22Z", "status": "running", "stderr": "string", "stdout": "string", "tty": { "cols": 0, "enabled": true, "rows": 0 }, "user": "string"}{ "detail": "Property foo is required but is missing.", "errors": [ { "location": "string", "message": "string", "value": null } ], "instance": "https://example.com/error-log/abc123", "status": 400, "title": "Bad Request", "type": "https://example.com/errors/example"}