deactivateApplication method

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

Deactivates the application with the given Id.

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

Implementation

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