- Print
- DarkLight
- PDF
Delete source system apartment using source system information
The Delete /externalSourceSystemApartment operation is designed to permanently remove a source system apartment using its associated information. This process involves eliminating all references to the apartment, but once deleted, it cannot be restored. If the operation fails unexpectedly, some objects linked to the apartment may be remapped to a default apartment, even if the original apartment still exists. In such cases, these remapped objects will not revert to their previous state. The operation requires an Authorization Token for security and includes mandatory path parameters: sourceSystemId and sourceSystemKey. Possible responses include a 204 status for successful deletion, a 401 status for missing or invalid authentication credentials, and a 403 status indicating that the request is valid but cannot be executed, often due to dependencies on other objects. Detailed error descriptions are provided in the response for troubleshooting.
Operation is used to delete source system apartment using source system information.
Operation attempts to remove all references to the apartment and then proceed to delete it permanently. Deleted apartment cannot be restored.
Be aware, that in case of operation failing unexpectedly, some of the objects that were previously related to the apartment to be deleted may have already been re-mapped to default apartment despite of the original apartment still existing in the system as a result of failed operation. When operation fails, re-mapped objects will not be rolled back to their previous state.
Token issued for API consumer.
Source system id of source system apartment to delete
Source system key of source system apartment to delete
Object deleted
Authentication credentials are missing or invalid
{
"details": "Authentication credentials were not provided"
}
Detailed description of error
Request is valid, but for some reason cannot be executed.
For example deletion is forbidden if object has at least one dependent object.
{
"details": "Child record(s) exist, deletion declined."
}
There was an error that forbids request execution
Detailed description of error