deleteFrameworkDoctypesByName method
Removes a DocType and every document stored under it.
Removes a DocType and every document stored under it. The definition and its data go together — a document with no schema can be neither validated nor read back — so there is no undo. Manager-only. Answers 204.
Parameters:
- String name (required): Name is the DocType's name, from the path. A name containing a space ("Sales Invoice") arrives percent-encoded and is decoded before it is matched against the stored one.
Implementation
Future<void> deleteFrameworkDoctypesByName(String name,) async {
final response = await deleteFrameworkDoctypesByNameWithHttpInfo(name,);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}