postGuideStepsByIdResetWithHttpInfo method
Returns one step of the caller org's journey to todo — clearing a manual mark or a skip — and returns the refreshed journey.
Returns one step of the caller org's journey to todo — clearing a manual mark or a skip — and returns the refreshed journey. Reset is never dependency-gated. Auto-detect runs on the next read, so a step the org has in fact completed elsewhere goes straight back to done.
Note: This method returns the HTTP Response.
Parameters:
- String id (required): ID is the step's id, as it appears in the journey (e.g. "gsuite").
Implementation
Future<Response> postGuideStepsByIdResetWithHttpInfo(String id,) async {
// ignore: prefer_const_declarations
final path = r'/v1/guide/steps/{id}/reset'
.replaceAll('{id}', id);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}