---
title: "disableProfile(_:onChannel:)"
framework: coremidi
role: symbol
role_heading: Instance Method
path: "coremidi/midicisession/disableprofile(_:onchannel:)"
---

# disableProfile(_:onChannel:)

Performs an asynchronous request to disable a profile for a specific MIDI channel number.

## Declaration

```swift
func disableProfile(_ profile: MIDICIProfile, onChannel channel: MIDIChannelNumber) throws
```

## Parameters

- `profile`: The profile to disable.
- `channel`: The MIDI channel number.

## See Also

### Configuring a Session

- [profileState(forChannel:)](coremidi/midicisession/profilestate(forchannel:).md)
- [enable(_:onChannel:)](coremidi/midicisession/enable(_:onchannel:).md)
- [MIDICIProfileChangedBlock](coremidi/midiciprofilechangedblock.md)
- [profileChangedCallback](coremidi/midicisession/profilechangedcallback.md)
- [send(_:onChannel:profileData:)](coremidi/midicisession/send(_:onchannel:profiledata:).md)
- [MIDICIProfileSpecificDataBlock](coremidi/midiciprofilespecificdatablock.md)
- [profileSpecificDataHandler](coremidi/midicisession/profilespecificdatahandler.md)
- [MIDIChannelsWholePort](coremidi/midichannelswholeport.md)
