Skip to content

API v2 delete global task #973

Description

@c8y3

Implement endpoint DELETE /api/v2/global-tasks/{identifier} to delete a customer.

  • return 204 in case of success
  • create method in the business layer
  • GET /api/v2/global-tasks/{identifier} returns 404, after delete
  • return an empty body in case of success
  • return 404 when the object is not found
  • return 403 when user is denied permission
  • deprecate POST /global/tasks/delete/<int:cur_id>
  • openapi: document endpoint
  • openapi: deprecate POST /global/tasks/delete/<int:cur_id>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions