Delete apartment
  • 28 Aug 2024
  • 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
integerRequired

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?