GET
/machines/{machine_id}/secret_keyRetrieve a machine secret key
Retrieves the secret key for a machine. Use the machine_id to identify which machine's key you need.
machine_idstringrequired
The ID of the machine whose secret key to retrieve.
200Returns the machine secret key in the `secret` field.
objectstringrequired
String representing the object's type.
secretstringrequired
The secret key for the machine.
400Returned when the request is not successful.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
401Returned when authentication is invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
403Returned when authorization is invalid.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
404Returned when the machine resource is not found.
errorsarray<object>required
metaobjectoptional
clerk_trace_idstringoptional
Error handling
A 400 indicates the request was not successful, a 401 indicates invalid authentication, a 403 indicates invalid authorization, and a 404 indicates the resource was not found. The machine_id path parameter must identify a machine.