## Delete a relay `client.moq.relays.delete(stringrelayId, RelayDeleteParamsparams, RequestOptionsoptions?): RelayDeleteResponse | null` **delete** `/accounts/{account_id}/moq/relays/{relay_id}` Soft-deletes a MoQ relay. ### Parameters - `relayId: string` - `params: RelayDeleteParams` - `account_id: string` Cloudflare account identifier. ### Returns - `RelayDeleteResponse = unknown` ### Example ```node import Cloudflare from 'cloudflare'; const client = new Cloudflare({ apiToken: process.env['CLOUDFLARE_API_TOKEN'], // This is the default and can be omitted }); const relay = await client.moq.relays.delete('a1b2c3d4e5f67890a1b2c3d4e5f67890', { account_id: '023e105f4ecef8ad9ca31a8372d0c353', }); console.log(relay); ``` #### Response ```json { "errors": [ { "code": 0, "message": "message" } ], "messages": [ { "code": 0, "message": "message" } ], "success": true, "result": {} } ```