deleteApplication method

Future<ClientResponse<void, Errors>> deleteApplication(
  1. String applicationId
)

Hard deletes an application. This is a dangerous operation and should not be used in most circumstances. This will delete the application, any registrations for that application, metrics and reports for the application, all the roles for the application, and any other data associated with the application. This operation could take a very long time, depending on the amount of data in your database.

@param {String} applicationId The Id of the application to delete. @returns {Promise<ClientResponse

Implementation

Future<ClientResponse<void, Errors>> deleteApplication(String applicationId) {
  return _start<void, Errors>()
      .withUri('/api/application')
      .withUriSegment(applicationId)
      .withParameter('hardDelete', true)
      .withMethod('DELETE')
      .go();
}