workspaces

Remove a member (revokes their sessions for this workspace)

Remove a member from the workspace and revoke their console sessions for it. Only an owner can remove an owner; the last owner cannot be removed (409 last_owner).

delete/v1/workspaces/{id}/members/{userId}

Request

  • Base URL: https://api.hyperresearch.ai
  • URL: https://api.hyperresearch.ai/v1/workspaces/{id}/members/{userId}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie hr_session

Path parameters

idstring required
userIdstring required

Response

Removed

user_idstring required
removedtrue required
sessions_revokedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.