Workspace State
Restore state version
Restores a specific state version as the current state for the workspace
post/workspaces/{workspaceId}/state-versions/{stateVersionId}/actions/restore
Request
- Base URLhttps://api.firefly.ai/v2
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
State version restored successfully
Example response
{
"id": "a1b2c3d4-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
"serial": 42,
"terraformVersion": "1.5.0",
"createdAt": "2024-01-15T10:30:00Z",
"createdBy": "user@example.com",
"downloadUrl": "https://s3.amazonaws.com/bucket/path/to/state?X-Amz-Algorithm=..."
}Changes
No recorded changes to this operation across all 1 revision of this API.