Workers

Deletes a worker and cascades cleanup for its tokens, runtime records, and provider-specific resources. Only the creator can delete a cloud worker.

delete/v1/workers/{id}

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string typeid required

Den TypeID with 'wrk_' prefix and a 26-character base32 suffix.

Response

Worker deleted successfully.

Changes

    • info

      response property details/items/path/items/ list-of-types was narrowed by removing types number from media type application/json of response 400

    • info

      added the optional property message to the response with the status