cURL
curl --request POST \ --url https://api.factory.ai/api/v0/computers/{computerId}/refresh \ --header 'Authorization: Bearer <token>'
{ "configured": 123 }
Refreshes a computer by re-configuring credentials and environment. Currently configures git credentials for all connected SCM integrations.
Factory API key or JWT token for authentication
Computer ID
Response for status 200