HomeCEU/cems-docs

DELETE /api/v2/company/{company_id}/group/{group_id}/member/{unique_id}

Opened this issue · 0 comments

CeeEm commented

Link to endpoint:
https://homeceu.github.io/cems-docs/#/Group/delete_company__companyId__group__groupId__member__uniqueId_

Cannot get endpoint to work properly. Endpoint only returns 404 status:

{
    "messages": [
        "User does not exist in group"
    ]
}

NOTE: User was verified to be in the provided group.

When adding the same user to a group multiple times (SEE: Issue #7 ) the error is different.

{
    "errors": [
        "Some users could not be removed: "
    ]
}