Delete apartment
  • 17 Jan 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.

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."
}

Was this article helpful?