sinricpro / non-sdk-issues

Report non sdk related issues here (Alexa, Google Home, SmartThings, IFTTT, API)
2 stars 0 forks source link

DELETE home does not exist #56

Closed Geromatic closed 1 year ago

Geromatic commented 1 year ago

Result:

HTTP Response code: 404
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Error</title>
</head>
<body>
<pre>Cannot DELETE /api/v1/homes/<home id></pre>
</body>
</html>
kakopappa commented 1 year ago

Yes. It’s mandatory to have at lease one. Right now multiple houses management is not supported

On Fri, 24 Mar 2023 at 10:13 AM Scott Bishel @.***> wrote:

Result:

HTTP Response code: 404

Error

Cannot DELETE /api/v1/homes/

— Reply to this email directly, view it on GitHub https://github.com/sinricpro/non-sdk-issues/issues/56, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZAZZQNTVVODFWKXLMPKBDW5UGORANCNFSM6AAAAAAWGAT3LE . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Geromatic commented 1 year ago

i have 4 house ids. I was trying to remove 3 the usnused ones that I added by mistake while testing the api functions

HTTP Response code: 200
{
  "homes": [
    {
      "name": "Home",
      "id": "63ed836d1bb4e19c119d5007"
    },
    {
      "name": "home",
      "id": "6410cd7f5ec7d92a4725a6ed"
    },
    {
      "name": "Liv",
      "id": "6410cfa41bb4e19c11b68352"
    },
    {
      "name": "LIVo",
      "id": "6410d1ca1bb4e19c11b68483"
    }
  ]
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.