deleteSettingsApprovalProfile function

Future<ApiResponse<Object?>> deleteSettingsApprovalProfile(
  1. ExsitedClient client,
  2. Object approvalProfileId, {
  3. bool? raiseOnError,
  4. String? responseFormat,
})

DELETE /api/{api_version}/settings/approval_profiles/{approval_profile_id}

Delete an approval profile that is not in use.

No typed view. Read response.map.

Implementation

Future<ApiResponse<Object?>> deleteSettingsApprovalProfile(
  ExsitedClient client,
  Object approvalProfileId, {
  bool? raiseOnError,
  String? responseFormat,
}) =>
    client.sendDeleteRequest(ApprovalProfilesUrls.settingsApprovalProfile,
        pathParams: {'approval_profile_id': approvalProfileId},
        raiseOnError: raiseOnError,
        responseFormat: responseFormat);