from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
state = client.v2.tasks.state.update(
task_id="taskId",
key="key",
)
print(state.success)
{
"success": true
}
Updates the state of a task.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
state = client.v2.tasks.state.update(
task_id="taskId",
key="key",
)
print(state.success)
{
"success": true
}
The unique identifier of the task to update the state of.
Default Response
The response is of type object
.