Skip to content

Issue with the "Machines" doc #2187

@mobiniti-jgoble

Description

@mobiniti-jgoble

I found an issue with this document.

Title: Machines
Location: https://fly.io/docs/machines/api/machines-resource/
Source: https://github.com/superfly/docs/blob/main/machines/api/machines-resource.html.markerb

Describe the issue

It seems that the /stop endpoint requires the optional parameters listed. If they are omitted you get a parse error returned from the server.

Additional info

Error returned: {"error":"json: cannot unmarshal array into Go value of type main.stopRequest"}
Error returned via CURL: HTTP/1.1 400 Bad Request
content-length: 0
date: Tue, 19 Aug 2025 06:35:20 GMT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions