Skip to content

Prevent renaming device to reserved identifiers #63

@ccrisan

Description

@ccrisan

Describe the bug
Device can now be renamed to any of the reserved identifiers.

Expected behavior
400 Bad Request should be returned by the PATCH /device API call when supplying one of the following names:

  • value
  • add
  • remove
  • definitions
  • webhooks
  • reverse

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions