Skip to content

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

Revokes outbound calling for a profile when the shared profile version matches. The profileId may identify the default or an additional profile. The profile, inbound destination, and line assignments remain. Requires platforms:write bound to the path project.

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

const photon = new Photon({
  headers: { Authorization: `Bearer ${process.env.PHOTON_API_TOKEN}` },
});
const result = await photon.projects.platforms.deleteVoiceProfileOutbound({
  path: {
    id: "id",
    profileId: "profileId",
  },
  query: {
    expectedVersion: 1,
  },
});
{
  "outbound": 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 Outbound calling was revoked. DeleteVoiceProfileOutboundResponse

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

outboundnullrequired
profileVersionintegerrequired