Skip to content

DELETE /v1/projects/{id}/platforms/voice/profiles/{profileId}/inbound

Removes a profile's inbound destination when the shared profile version matches. The profileId may identify the default or an additional profile. The profile and its line assignments remain. Requires platforms:write bound to the path project.

photon.projects.platforms.deleteVoiceProfileInbound(input: DeleteVoiceProfileInboundInput, options?: RequestOptions): Promise<DeleteVoiceProfileInboundOutput>
import { Photon } from "@photon-ai/api";

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.platforms.deleteVoiceProfileInbound({
  path: {
    id: "id",
    profileId: "profileId",
  },
  query: {
    expectedVersion: 1,
  },
});
{
  "inbound": null,
  "profileVersion": 1
}

Parameters

Photon-VersionPhotonVersion

Selects the API contract date. Without it, the request is served as 2026-07-01.

idstringrequired
profileIdstringrequired
expectedVersionintegerrequired

Returns

200 The removed inbound configuration and next profile version. VoiceProfileInboundConfiguration

Headers: Photon-Version. The raw response carries these headers; see Raw responses.

inboundSipInboundConfiguration | nullrequired
profileVersionintegerrequired