deleteConfigurationProfile method

Future<void> deleteConfigurationProfile({
  1. required String applicationId,
  2. required String configurationProfileId,
})

Delete a configuration profile. Deleting a configuration profile does not delete a configuration from a host.

May throw ResourceNotFoundException. May throw ConflictException. May throw InternalServerException. May throw BadRequestException.

Parameter applicationId : The application ID that includes the configuration profile you want to delete.

Parameter configurationProfileId : The ID of the configuration profile you want to delete.

Implementation

Future<void> deleteConfigurationProfile({
  required String applicationId,
  required String configurationProfileId,
}) async {
  ArgumentError.checkNotNull(applicationId, 'applicationId');
  ArgumentError.checkNotNull(
      configurationProfileId, 'configurationProfileId');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/applications/${Uri.encodeComponent(applicationId)}/configurationprofiles/${Uri.encodeComponent(configurationProfileId)}',
    exceptionFnMap: _exceptionFns,
  );
}