Deletes a subproject.
Only subprojects can be deleted through this API. Deleting the root/parent project
returns 422 only_subprojects_can_be_deleted. A project must have no phone numbers
before it can be deleted; otherwise the request returns 422 phone_numbers_must_be_removed.
On a successful delete, the subproject’s registry brands and campaigns are migrated up to the parent project.
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing the word Basic followed by a space and a base64-encoded string of project_id:token. The project ID will be used as the username and the API token as the password.
Example: