Skip to content

[Role API] Delete end point returns Role does not exist message to some existing role #290

Closed
@sdgun

Description

@sdgun

Steps
Call DELETE https://api.topcoder-dev.com/v5/taas-roles/8076b36c-e557-4f65-9a46-293e7b4d58fb with an admin or booking manager token

Current behavior
Returns { "message": "id: 8076b36c-e557-4f65-9a46-293e7b4d58fb "Role" doesn't exists."}

Expected behavior
Should return code 403 and delete the role since this is an existing role which is returned by Get end point

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions