curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/environments/{environment_id}:disconnect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"force": true,
"resetSnapshots": true
}
'{}Disconnects the environment from the node pool. Returns an error if the environment is not connected to a node pool.
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/environments/{environment_id}:disconnect \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"force": true,
"resetSnapshots": true
}
'{}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
The Environment Id
Disconnect the environment even if snapshotting fails (e.g. due to pod failure). This flag should only be used if you are certain that the pod is gone.
Forces snapshots to be rebuilt. This can be used when there are too many snapshot layers or when an unforeseen snapshotting logic error has occurred.
A successful response.
The response is of type object.
Was this page helpful?