Skip to content

API v2 update customer #956

@c8y3

Description

@c8y3

Implement endpoint PUT /api/v2/manage/customers/{identifier} to update a customer.

  • return 200 in case of success
  • create method in business layer
  • update a field
  • return 400 when a field is in incorrect format
  • return 403 when the user is denied permission
  • return 404 when the resource is not found
  • check returned object is uniform with other endpoints
  • deprecate POST /manage/customers/update/<int:client_id>
  • openapi: document endpoint
  • openapi: deprecate POST /manage/customers/update/<int:client_id>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions