Skip to content

API v2 delete a customer #960

@c8y3

Description

@c8y3

Implement endpoint DELETE /api/v2/manage/customers/{identifier} to delete a customer.

  • return 204 in case of success
  • create method in the business layer
  • GET /api/v2/manage/customers/{identifier} returns 404, after delete
  • return an empty body in case of success
  • return 404 when the user is not found
  • return 403 when user is denied permission
  • deprecate POST /manage/customers/delete/<int:client_id>
  • openapi: document endpoint
  • openapi: deprecate POST /manage/customers/delete/<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