Computers

Refresh a computer

Changed on

Refreshes the Git credentials and user-owned computer secrets on a managed computer. Computers connected through Remote Control are not modified and return zero counts.

post/api/v0/computers/{computerId}/refresh

Request

  • Base URL
    https://api.factory.ai
  • Auth
    HTTP bearer

Path parameters

computerId, string required

Computer ID. Must not contain "/" and must not be "." or "..".

Headers

X-Factory-Org-Id, string

Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.

Response

Response for status 200

RefreshComputer200ResponseBody required
configured, number required
secretsConfigured, number required

Changes

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property detail from the response with the status

    • breaking

      removed the required property status from the response with the status

    30 more changes in this revision