curl --request DELETE \
--url https://spectrum.photon.codes/projects/{projectId}/lines/{lineId}{
"succeed": true,
"data": {
"billing": {
"quantity": 123,
"prorationAmount": 123
}
}
}Deallocates a specific dedicated iMessage line and decrements the Stripe subscription quantity with pro-rated credit. Business plan only. The subscription quantity is updated before the Cosmos deallocation, so the customer is never billed for a line they can no longer use. Requires Authorization: Basic base64(projectId:projectSecret).
curl --request DELETE \
--url https://spectrum.photon.codes/projects/{projectId}/lines/{lineId}{
"succeed": true,
"data": {
"billing": {
"quantity": 123,
"prorationAmount": 123
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
Use this file to discover all available pages before exploring further.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$Was this page helpful?