Delete Channel Configuration

October 27, 2025

Table of contents

  1. Request Headers
    1. Path Parameters
  2. Responses
  3. Examples
  4. Try It

Delete a configured Midjourney channel. This removes the channel from your account configuration.

Warning: This action cannot be undone. All running jobs for this channel will continue, but you won’t be able to create new jobs until you reconfigure the channel.

https://api.useapi.net/v3/midjourney/accounts/channel

Request Headers

Authorization: Bearer {API token}
Path Parameters
  • channel is required. The Discord channel ID to delete.

Responses

  • 204 No Content

    Channel deleted successfully.

    No Content (empty response body)

  • 401 Unauthorized

    Invalid API token.

    {
      "error": "Unauthorized"
    }
    
  • 404 Not Found

    Channel not found or not configured.

    No Content (empty response body)

Examples

  • curl -X DELETE \
         -H "Authorization: Bearer YOUR_API_TOKEN" \
         "https://api.useapi.net/v3/midjourney/accounts/1234567890123456789"
    
  • const token = 'YOUR_API_TOKEN';
    const channelId = '1234567890123456789';
    
    const response = await fetch(`https://api.useapi.net/v3/midjourney/accounts/${channelId}`, {
      method: 'DELETE',
      headers: {
        'Authorization': `Bearer ${token}`
      }
    });
    
    if (response.status === 204) {
      console.log('Channel deleted successfully');
    } else {
      console.error('Failed to delete channel:', response.status);
    }
    
  • import requests
    
    token = 'YOUR_API_TOKEN'
    channel_id = '1234567890123456789'
    
    response = requests.delete(
        f'https://api.useapi.net/v3/midjourney/accounts/{channel_id}',
        headers={'Authorization': f'Bearer {token}'}
    )
    
    if response.status_code == 204:
        print('Channel deleted successfully')
    else:
        print(f'Failed to delete channel: {response.status_code}')
    

Try It