Delete apartment
  • 29 Aug 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Delete apartment

  • Dark
    Light
  • PDF

Article summary

Delete
/apartments/{id}/

Operation is used to delete apartments. Available from product version 3.0.22.

Operation actually deletes apartments and they cannot be restored.

Security
API Key
Header parameter nameAuthorization
Token issued for API consumer.
Path parameters
id
integer Required

Id of apartment to delete

Responses
204

Object deleted

401

Authentication credentials are missing or invalid

{
  "details": "Authentication credentials were not provided"
}
object
details
string

Detailed description of error

403

Apartment deletion not possible due to some object still linked to that apartment

{
  "details": "Child record(s) exist, deletion declined."
}
object

There was an error that forbids request execution

details
string

Detailed description of error


Was this article helpful?