Delete a subproject
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.
Use this operation only for a subproject that is ready to retire. The Compatibility API cannot close an account; its Update account operation only renames one, so deleting the subproject here is the API path for retiring it.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: Management.
Learn more about API scopes.
Path parameters
Universal Unique Identifier.
The unique identifier of the project or subproject.
Response
There is no content to send for this request, but the headers may be useful.
Changes
Changed in 2 of the 137 revisions of this API.3
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
removed the non-success response with the status
403response-non-success-status-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 137 revisions, 3 have a changelog that could not be searched.