SenseCrypt Docs
API ReferenceAdmin Groups

Remove Member

DELETE/v1/admin/groups/{group_id}/members/{auth_user_id}

Remove a user from a group and eagerly revoke the access it granted.

Severance is scoped to what THIS membership was conferring: device keys and refresh-token families for apps the user can no longer reach through any remaining live group. A member of other groups keeps the credentials those groups still grant — removing them from one group does not force re-enrollment everywhere. A user left in NO live app-attached group gets the full severance (every device key and refresh family, mirroring a SCIM active:false suspend), so removal still carries offboarding weight when it is the offboarding.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

group_id*Group Id
Formatuuid
auth_user_id*Auth User Id
Formatuuid

Response Body

application/json

curl -X DELETE "https://example.com/v1/admin/groups/497f6eca-6276-4993-bfeb-53cbbbba6f08/members/497f6eca-6276-4993-bfeb-53cbbbba6f08"
Empty
{  "detail": [    {      "loc": [        "string"      ],      "msg": "string",      "type": "string",      "input": null,      "ctx": {}    }  ]}