Change a shared app
Renames the app, changes who can open it, or changes its start command. A new slug keeps the old address as a redirect, and the old slug is never reassigned. Requires write access to the computer the app was published from (its publisher once that computer is gone), or a vault owner or space admin.
PATCH
/api/apps/{id}Path parameters
idstringrequiredBody
slugobjectvisibilityobjectstartCommandobjectcwdobjectRequest
curl
curl -X PATCH https://trickest.io/api/apps/{id} \
-H "Authorization: Token $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200The shared app
idstringrequiredslugstringrequiredurlstringrequiredvisibilityenumrequiredOne of: vault, trickest, public
vaultIdstringrequiredsourceSandboxIdstringrequiredsandboxIdstringrequiredportnumberrequiredstartCommandstringrequiredcwdstringrequiredstatusenumrequiredOne of: running, stopped, publishing, failed
createdBystringrequiredcreatedAtstringrequiredupdatedAtstringrequiredpublishedAtstringrequiredlastErrorobjectcodestringrequiredmessagestringrequireddetailstringphaseenumOne of: install, build, start, probe
reasonstringexitCodeintegerdeployIdstringlogUrlstring400Bad Request – validation error or malformed input
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
401Unauthorized – missing or expired token
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
403Forbidden – insufficient permissions
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
429Too Many Requests – rate limited
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.
500Internal Server Error
codestringrequiredmessagestringrequireddetailsobjectField-level detail when the error is a validation failure.